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

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 9 08:25:55 UTC 2020


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

New commits:
commit 20eaab272069226485c194d639388b6b7038c211
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Jul 7 21:07:21 2020 +0200
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Thu Jul 9 10:25:36 2020 +0200

    Log number of active sessions
    
    Change-Id: Id161f09bc637e5dcf5ea0beaf11e360de7aa1fa2
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98298
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index f198bb8e3..fe9cdb7f0 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -2257,7 +2257,7 @@ void DocumentBroker::broadcastMessage(const std::string& message)
 {
     assertCorrectThread();
 
-    LOG_DBG("Broadcasting message [" << message << "] to all sessions.");
+    LOG_DBG("Broadcasting message [" << message << "] to all " << _sessions.size() <<  " sessions.");
     for (const auto& sessionIt : _sessions)
     {
         sessionIt.second->sendTextFrame(message);


More information about the Libreoffice-commits mailing list