~singpolyma/biboumi

5c78692fcd447d94be1eb43338f79790f53051f6 — louiz’ 8 years ago 11a1c0c
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.
1 files changed, 1 insertions(+), 1 deletions(-)

M louloulibs/utils/timed_events_manager.cpp
M louloulibs/utils/timed_events_manager.cpp => louloulibs/utils/timed_events_manager.cpp +1 -1
@@ 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()