Blame SOURCES/0002-Issue-5544-Increase-default-task-TTL.patch

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