mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 22:20:28 -05:00
Don't timeout slow-running operations
This commit is contained in:
parent
dcd777b0b8
commit
c9ef0da66b
1 changed files with 3 additions and 0 deletions
|
|
@ -193,6 +193,9 @@ int connections_timeout_idle(time_t now)
|
|||
c != NULL;
|
||||
c = connection_next( c, &connindex ) )
|
||||
{
|
||||
/* Don't timeout a slow-running request */
|
||||
if( c->c_n_ops_executing ) continue;
|
||||
|
||||
if( difftime( c->c_activitytime+global_idletimeout, now) < 0 ) {
|
||||
/* close it */
|
||||
connection_closing( c );
|
||||
|
|
|
|||
Loading…
Reference in a new issue