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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 29 07:53:31 UTC 2018


 wsd/DocumentBroker.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dc4712c3f9e3ad541f5d4348a47604665050596f
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Nov 29 08:52:57 2018 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Nov 29 08:52:57 2018 +0100

    wsd: limit_load_secs is not interesting for the mobile case, either
    
    Change-Id: I92ad4bea80c261cc802ccdbebc1ce2990260853e

diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 87eff69b6..c2dda9221 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -250,12 +250,12 @@ void DocumentBroker::pollThread()
     uint64_t adminSent = 0;
     uint64_t adminRecv = 0;
     auto lastBWUpdateTime = std::chrono::steady_clock::now();
+
+    int limit_load_secs = LOOLWSD::getConfigValue<int>("per_document.limit_load_secs", 100);
     auto loadDeadline = std::chrono::steady_clock::now() + std::chrono::seconds(limit_load_secs);
 #endif
     auto last30SecCheckTime = std::chrono::steady_clock::now();
 
-    int limit_load_secs = LOOLWSD::getConfigValue<int>("per_document.limit_load_secs", 100);
-
     // Main polling loop goodness.
     while (!_stop && _poll->continuePolling() && !TerminationFlag)
     {


More information about the Libreoffice-commits mailing list