]> git.sur5r.net Git - openldap/commitdiff
Another idle time tweak
authorHoward Chu <hyc@openldap.org>
Sun, 11 May 2003 06:06:22 +0000 (06:06 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 11 May 2003 06:06:22 +0000 (06:06 +0000)
servers/slapd/daemon.c

index a94349897f9829b29211bb15eec24b964dbe8a1b..ae5a754f7d05f0873bf8f0cd2ffb11c73f6e6fd1 100644 (file)
@@ -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;
                        }
                }