From: Alejandro Perez Date: Tue, 9 May 2017 12:21:44 +0000 (+0200) Subject: Increase the amount of time a pool spends in the garbage list X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f1e92c414f0cd6942ed08614f564fd027cbc2df;p=thirdparty%2Ffreeradius-server.git Increase the amount of time a pool spends in the garbage list Under specific circumstances (e.g high authentication load) a client might keep using an old pool since the socket did not expire. 60 seconds seems too low. Increased to make sure we do not delete it while it is still being used. --- diff --git a/src/main/realms.c b/src/main/realms.c index 64075a8c393..9bee6598e51 100644 --- a/src/main/realms.c +++ b/src/main/realms.c @@ -1154,7 +1154,7 @@ void realm_pool_free(home_pool_t *pool) } this->next = NULL; - this->when = now + 60; + this->when = now + 300; this->pool = pool; pthread_mutex_unlock(&pool_free_mutex); }