From: Arran Cudbard-Bell Date: Tue, 29 Nov 2016 11:14:13 +0000 (-0500) Subject: Output seconds until we retry X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a13cf734aebfb627fab8e92d744f93551e07698a;p=thirdparty%2Ffreeradius-server.git Output seconds until we retry --- diff --git a/src/main/connection.c b/src/main/connection.c index 0b8a69e908a..0a542ba4d47 100644 --- a/src/main/connection.c +++ b/src/main/connection.c @@ -378,7 +378,7 @@ static fr_connection_t *fr_connection_spawn(fr_connection_pool_t *pool, REQUEST if (!RATE_LIMIT_ENABLED || complain) { ROPTIONAL(RERROR, ERROR, "Last connection attempt failed, waiting %d seconds before retrying", - pool->retry_delay); + (pool->state.last_failed + pool->retry_delay) - now); } return NULL;