mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Another idle time tweak
This commit is contained in:
parent
c84c133c90
commit
2d22e02ef9
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user