minor style changes

This commit is contained in:
Soham Sinha 2017-08-01 20:22:20 -04:00
parent d068a29798
commit 4b44362b9f
1 changed files with 2 additions and 3 deletions

View File

@ -1308,8 +1308,7 @@ Worker::Worker(uint32_t id, SSL_CTX *ssl_ctx, size_t req_todo, size_t nclients,
if (config->is_timing_based_mode()) { if (config->is_timing_based_mode()) {
duration_watcher.data = this; duration_watcher.data = this;
ev_timer_init(&warmup_watcher, warmup_timeout_cb, ev_timer_init(&warmup_watcher, warmup_timeout_cb, config->warm_up_time, 0.);
config->warm_up_time, 0.);
warmup_watcher.data = this; warmup_watcher.data = this;
current_phase = Phase::INITIAL_IDLE; current_phase = Phase::INITIAL_IDLE;
} else { } else {