andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
8505bd
From adb1baa6fd9fcfa0ca6d4a84d918e25adc405afd Mon Sep 17 00:00:00 2001
8505bd
From: Mark Reynolds <mreynolds@redhat.com>
8505bd
Date: Mon, 28 Nov 2022 09:47:09 -0500
8505bd
Subject: [PATCH 2/3] Issue 5544 - Increase default task TTL
8505bd
8505bd
Description:  Increase the Time To Live of tasks from 1 hour to 12 hours
8505bd
8505bd
relates: https://github.com/389ds/389-ds-base/issues/5544
8505bd
8505bd
Reviewed by: progier(Thanks!)
8505bd
---
8505bd
 ldap/servers/slapd/task.c | 2 +-
8505bd
 1 file changed, 1 insertion(+), 1 deletion(-)
8505bd
8505bd
diff --git a/ldap/servers/slapd/task.c b/ldap/servers/slapd/task.c
8505bd
index 71d5a2fb5..1a8be6c85 100644
8505bd
--- a/ldap/servers/slapd/task.c
8505bd
+++ b/ldap/servers/slapd/task.c
8505bd
@@ -48,7 +48,7 @@ static uint64_t shutting_down = 0;
8505bd
 #define TASK_DATE_NAME "nsTaskCreated"
8505bd
 #define TASK_WARNING_NAME "nsTaskWarning"
8505bd
 
8505bd
-#define DEFAULT_TTL "3600"                        /* seconds */
8505bd
+#define DEFAULT_TTL "43200" /* 12 hours in seconds */
8505bd
 #define TASK_SYSCONFIG_FILE_ATTR "sysconfigfile" /* sysconfig reload task file attr */
8505bd
 #define TASK_SYSCONFIG_LOGCHANGES_ATTR "logchanges"
8505bd
 #define TASK_TOMBSTONE_FIXUP "fixup tombstones task"
8505bd
-- 
8505bd
2.38.1
8505bd