wsd/ClientSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5a987bea9091814e76264238a81199e56e0dff06 Author: Ashod Nakashian <[email protected]> Date: Thu Dec 15 09:01:23 2016 -0500 loolwsd: better to poll less frequently Change-Id: I8ad44d132f11d32247f48583151c650e98856f82 Reviewed-on: https://gerrit.libreoffice.org/32153 Reviewed-by: Ashod Nakashian <[email protected]> Tested-by: Ashod Nakashian <[email protected]> diff --git a/wsd/ClientSession.cpp b/wsd/ClientSession.cpp index c97ef64..16348db 100644 --- a/wsd/ClientSession.cpp +++ b/wsd/ClientSession.cpp @@ -470,7 +470,7 @@ void ClientSession::senderThread() while (!stopping()) { std::shared_ptr<MessagePayload> item; - if (_senderQueue.waitDequeue(item, static_cast<size_t>(POLL_TIMEOUT_MS))) + if (_senderQueue.waitDequeue(item, static_cast<size_t>(COMMAND_TIMEOUT_MS))) { const std::vector<char>& data = item->data(); try _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
