Commit 5c78692f authored by louiz’'s avatar louiz’

Do not add 1ms to the timeout of our poller

Can’t remember why I did this, but that must be a stupid reason. Everything
must work even with a timeout of 0.
parent 11a1c0cc
......@@ -23,7 +23,7 @@ std::chrono::milliseconds TimedEventsManager::get_timeout() const
if (this->events.empty())
return utils::no_timeout;
return this->events.front().get_timeout() + std::chrono::milliseconds(1);
return this->events.front().get_timeout();
std::size_t TimedEventsManager::execute_expired_events()
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