projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
a64cd98
)
testing: fix cluster count to 4
author
Michael Wallner
<mike@php.net>
Tue, 29 Sep 2020 07:46:32 +0000
(09:46 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 29 Sep 2020 07:46:32 +0000
(09:46 +0200)
test/lib/Cluster.cpp
patch
|
blob
|
history
diff --git
a/test/lib/Cluster.cpp
b/test/lib/Cluster.cpp
index ee7fcbf24f409596fd5f6d404970f7abeea9002e..a4f8a3ae3c150fa4bbdcd3c40df313680941e53f 100644
(file)
--- 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();
}