Commit 278247fa authored by Nora Shoemaker's avatar Nora Shoemaker

Starting a second earlier

parent ec617ae6
......@@ -771,6 +771,9 @@ void Worker::run() {
}
} else {
ev_timer_again(loop, &timeout_watcher);
// call callback so that we don't waste the first second
second_timeout_w_cb(loop, &timeout_watcher, 0);
}
ev_run(loop, 0);
}
......
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