Wakeup poll after queueing a new session.
This commit is contained in:
parent
5763d8d9bb
commit
5cafa006dc
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue