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