Commit fcec9969 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

h2load: Use 1 thread if the number of concurrent client is 1

parent 7cb28e88
......@@ -890,6 +890,10 @@ int main(int argc, char **argv)
resolve_host();
if(config.nclients == 1) {
config.nthreads = 1;
}
size_t nreqs_per_thread = config.nreqs / config.nthreads;
ssize_t nreqs_rem = config.nreqs % config.nthreads;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment