Wakeup poll after queueing a new session.

This commit is contained in:
Michael Meeks 2017-03-10 23:28:54 +00:00
parent 5763d8d9bb
commit 5cafa006dc

View file

@ -717,6 +717,7 @@ size_t DocumentBroker::queueSession(std::shared_ptr<ClientSession>& session)
Util::assertIsLocked(_mutex); Util::assertIsLocked(_mutex);
_newSessions.push_back(NewSession(session)); _newSessions.push_back(NewSession(session));
_poll->wakeup();
return _sessions.size() + _newSessions.size(); return _sessions.size() + _newSessions.size();
} }