From: Alan T. DeKok Date: Tue, 20 Dec 2016 18:10:28 +0000 (-0500) Subject: we need room for num_workers messages in the control plane, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19dd35423540d162f606508dfceb19a89fca6523;p=thirdparty%2Ffreeradius-server.git we need room for num_workers messages in the control plane, too --- diff --git a/src/tests/util/worker_test.c b/src/tests/util/worker_test.c index ac3632f914f..16bb93fe143 100644 --- a/src/tests/util/worker_test.c +++ b/src/tests/util/worker_test.c @@ -482,6 +482,7 @@ int main(int argc, char *argv[]) if (!max_control_plane) { max_control_plane = MAX_CONTROL_PLANE; if (max_outstanding > max_control_plane) max_control_plane = max_outstanding; + if (num_workers > max_control_plane) max_control_plane = num_workers + (num_workers >> 1); } #if 0