From: Arran Cudbard-Bell Date: Tue, 28 Apr 2020 15:58:15 +0000 (-0500) Subject: Always need to re-calculate X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f073366cf8d896d7f8ff163ca142e472923a460b;p=thirdparty%2Ffreeradius-server.git Always need to re-calculate --- diff --git a/src/lib/server/trunk.c b/src/lib/server/trunk.c index 0946e008b3f..95ff2660ca0 100644 --- a/src/lib/server/trunk.c +++ b/src/lib/server/trunk.c @@ -1685,6 +1685,7 @@ static uint64_t trunk_connection_requests_requeue(fr_trunk_connection_t *tconn, treq = prev; } +done: /* * If the trunk was draining, it wasn't counted * in the requests per connection stats, so @@ -1694,7 +1695,6 @@ static uint64_t trunk_connection_requests_requeue(fr_trunk_connection_t *tconn, trunk_requests_per_connnection(NULL, NULL, trunk, fr_time()); } -done: fr_connection_signals_resume(tconn->pub.conn); return moved; }