From 83cd358dea85840d916b6a69e8b0b20fe7a4e4e0 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 29 Sep 2020 09:46:32 +0200 Subject: [PATCH] testing: fix cluster count to 4 --- test/lib/Cluster.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/lib/Cluster.cpp b/test/lib/Cluster.cpp index ee7fcbf2..a4f8a3ae 100644 --- a/test/lib/Cluster.cpp +++ b/test/lib/Cluster.cpp @@ -7,11 +7,8 @@ Cluster::Cluster(Server serv, uint16_t cnt) : count{cnt} , proto{move(serv)} { - if (!cnt) { - count = thread::hardware_concurrency()/2; - if (count < 4) { + if (count < 4) { count = 4; - } } reset(); } -- 2.30.2