From: Howard Chu Date: Sun, 11 May 2003 06:06:22 +0000 (+0000) Subject: Another idle time tweak X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~150 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2d22e02ef97e50a22b052dda83b00d38b120311c;p=openldap Another idle time tweak --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index a94349897f..ae5a754f7d 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1231,6 +1231,7 @@ slapd_daemon_task( } else if ( global_idletimeout > 0 ) { if ( difftime( last_idle_check+global_idletimeout/SLAPD_IDLE_CHECK_LIMIT, now ) < 0 ) { connections_timeout_idle( now ); + last_idle_check = now; } }