[Libreoffice-commits] online.git: wsd/ClientSession.cpp

Ashod Nakashian ashod.nakashian at collabora.co.uk
Mon Dec 19 05:42:39 UTC 2016


 wsd/ClientSession.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5a987bea9091814e76264238a81199e56e0dff06
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
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 <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

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


More information about the Libreoffice-commits mailing list