h2load: clang-format
This commit is contained in:
parent
718f7a5f7e
commit
84e23bff10
|
@ -742,11 +742,16 @@ int Client::connection_made() {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
duration = config.timings[reqidx];
|
duration = config.timings[reqidx];
|
||||||
if(reqidx == 0) //if reqidx wraps around back to 0, we uses up all lines and should break
|
if (reqidx == 0) {
|
||||||
|
// if reqidx wraps around back to 0, we uses up all lines and
|
||||||
|
// should break
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (duration >= 1e-9) { //double check since we may have break due to reqidx wraps around back to 0
|
if (duration >= 1e-9) {
|
||||||
|
// double check since we may have break due to reqidx wraps
|
||||||
|
// around back to 0
|
||||||
request_timeout_watcher.repeat = duration;
|
request_timeout_watcher.repeat = duration;
|
||||||
ev_timer_again(worker->loop, &request_timeout_watcher);
|
ev_timer_again(worker->loop, &request_timeout_watcher);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue