mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 22:20:28 -05:00
minor tweak
This commit is contained in:
parent
45776bff04
commit
e64bb13148
1 changed files with 4 additions and 4 deletions
|
|
@ -1223,12 +1223,12 @@ slapd_daemon_task(
|
|||
time_t tdelta = 1;
|
||||
#endif
|
||||
|
||||
now = slap_get_time();
|
||||
|
||||
if( emfile ) {
|
||||
now = slap_get_time();
|
||||
connections_timeout_idle( now );
|
||||
}
|
||||
else if ( global_idletimeout > 0 ) {
|
||||
now = slap_get_time();
|
||||
|
||||
} else if ( global_idletimeout > 0 ) {
|
||||
if ( difftime( last_idle_check+global_idletimeout/SLAPD_IDLE_CHECK_LIMIT, now ) < 0 ) {
|
||||
connections_timeout_idle( now );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue