]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Always need to re-calculate
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 28 Apr 2020 15:58:15 +0000 (10:58 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 28 Apr 2020 16:19:03 +0000 (11:19 -0500)
src/lib/server/trunk.c

index 0946e008b3fbab6588c3e20f37860ca696e605ce..95ff2660ca013a6ec1fdc276f478ad09067a833a 100644 (file)
@@ -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;
 }