testing: fix cluster count to 4
authorMichael Wallner <mike@php.net>
Tue, 29 Sep 2020 07:46:32 +0000 (09:46 +0200)
committerMichael Wallner <mike@php.net>
Tue, 29 Sep 2020 07:46:32 +0000 (09:46 +0200)
test/lib/Cluster.cpp

index ee7fcbf24f409596fd5f6d404970f7abeea9002e..a4f8a3ae3c150fa4bbdcd3c40df313680941e53f 100644 (file)
@@ -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();
 }