From: Michael Wallner Date: Tue, 29 Sep 2020 07:46:32 +0000 (+0200) Subject: testing: fix cluster count to 4 X-Git-Tag: 1.1.0-beta1~236^2~41 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=83cd358dea85840d916b6a69e8b0b20fe7a4e4e0;p=awesomized%2Flibmemcached testing: fix cluster count to 4 --- 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(); }