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