This is an automated email from the git hooks/post-receive script.
tbordaz pushed a change to branch master in repository 389-ds-base.
from 28ad77e Ticket 49313 - Change the retrochangelog default cache size new af536ea Ticket 49332 - Event queue is not working
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: ldap/servers/slapd/eventq.c | 1 + 1 file changed, 1 insertion(+)
This is an automated email from the git hooks/post-receive script.
tbordaz pushed a commit to branch master in repository 389-ds-base.
commit af536ea9b0d8dc9d7ea48b3b798891a117a822e8 Author: Thierry Bordaz tbordaz@redhat.com Date: Tue Jul 25 10:59:47 2017 +0200
Ticket 49332 - Event queue is not working
Bug Description: 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. https://pagure.io/389-ds-base/issue/49316 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.
Fix Description: Make sure the loop update the current time
https://pagure.io/389-ds-base/issue/49332
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 --- a/ldap/servers/slapd/eventq.c +++ b/ldap/servers/slapd/eventq.c @@ -316,6 +316,7 @@ eq_loop(void *arg __attribute__((unused))) timeout = PR_INTERVAL_NO_TIMEOUT; } PR_WaitCondVar(eq->eq_cv, timeout); + curtime = slapi_current_utc_time(); } /* There is some work to do */ PR_Unlock(eq->eq_lock);
389-commits@lists.fedoraproject.org