mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Allow a small number of waking events to be outstanding, not just 1
(chose 5 arbitrarily)
This commit is contained in:
parent
69dc60e5ca
commit
0464155205
@ -76,7 +76,7 @@ static int emfile;
|
||||
|
||||
static int waking;
|
||||
#define WAKE_LISTENER(w) \
|
||||
do { if (w && !waking) tcp_write( wake_sds[1], "0", 1 ); waking=w; } while(0)
|
||||
do { if (w && waking < 5) { tcp_write( wake_sds[1], "0", 1 ); waking++;} } while(0)
|
||||
|
||||
volatile sig_atomic_t slapd_shutdown = 0, slapd_gentle_shutdown = 0;
|
||||
volatile sig_atomic_t slapd_abrupt_shutdown = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user