[Libreoffice-commits] online.git: wsd/DocumentBroker.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Mon Apr 3 05:13:57 UTC 2017
wsd/DocumentBroker.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit bd82bf4c4b7ed57d55cd1cf05ea681517b8c1bf3
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Sun Apr 2 17:50:17 2017 -0400
wsd: set DocBroker poll thread once
Change-Id: Ic6397893b2b9b04c6715c393c3f176785b1e2b77
Reviewed-on: https://gerrit.libreoffice.org/36031
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index 259ca5aa..ae7f6e71 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -155,7 +155,7 @@ DocumentBroker::DocumentBroker(const std::string& uri,
_cursorPosY(0),
_cursorWidth(0),
_cursorHeight(0),
- _poll(new DocumentBrokerPoll("docbrk_poll", *this)),
+ _poll(new DocumentBrokerPoll("docbroker_" + _docId, *this)),
_stop(false),
_tileVersion(0),
_debugRenderedTileCount(0)
@@ -180,8 +180,6 @@ bool DocumentBroker::isCorrectThread()
// The inner heart of the DocumentBroker - our poll loop.
void DocumentBroker::pollThread()
{
- Util::setThreadName("docbroker_" + _docId);
-
LOG_INF("Starting docBroker polling thread for docKey [" << _docKey << "].");
_threadStart = std::chrono::steady_clock::now();
More information about the Libreoffice-commits
mailing list