This is an automated email from the git hooks/post-receive script.
tbordaz pushed a commit to branch master
in repository 389-ds-base.
Author: Thierry Bordaz <tbordaz(a)redhat.com>
Date: Tue Jul 25 10:59:47 2017 +0200
Ticket 49332 - Event queue is not working
The event queue thread runs eq_loop.
It contains a wait loop that sleeps for the duration to the next scheduled event.
This loop was using a macro WORK_AVAILABLE that read the current time.
replace that macro but did not update
the current time. As a consequence eq_loop was stuck in the sleep loop without
calling the scheduled event.
Make sure the loop update the current time
Reviewed by: William Brown
Platforms tested: F23
Flag Day: no
Doc impact: no
ldap/servers/slapd/eventq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ldap/servers/slapd/eventq.c b/ldap/servers/slapd/eventq.c
index 7ce6e44..8fccf38 100644
@@ -316,6 +316,7 @@ eq_loop(void *arg __attribute__((unused)))
timeout = PR_INTERVAL_NO_TIMEOUT;
+ curtime = slapi_current_utc_time();
/* There is some work to do */
To stop receiving notification emails like this one, please contact
the administrator of this repository.