[Libreoffice-commits] online.git: kit/Kit.cpp

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Sat Apr 18 14:34:15 UTC 2020


 kit/Kit.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2a16f34812cf69bbe0f21b7e7d048fdb3271fa9d
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Sat Apr 18 16:20:17 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Sat Apr 18 16:33:56 2020 +0200

    Don't use "kitbroker" as part of the thread name in a 'kit' process
    
    It just causes confusion with the name "DocumentBroker".
    DocumentBroker objects exist only in the WSD process. Instead just use
    "kit".
    
    Change-Id: I3d9915c4759899ea6ed9084cf3ec6dc0f3b88ee5
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92474
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 5e28c0ca0..539615da5 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -2154,7 +2154,7 @@ protected:
             std::string url;
             URI::decode(docKey, url);
             LOG_INF("New session [" << sessionId << "] request on url [" << url << "].");
-            Util::setThreadName("kitbroker_" + docId);
+            Util::setThreadName("kit_" + docId);
 
             if (!document)
                 document = std::make_shared<Document>(


More information about the Libreoffice-commits mailing list