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

Ashod Nakashian ashod.nakashian at collabora.co.uk
Fri Feb 10 07:08:24 UTC 2017


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

New commits:
commit 15862a5b5f59140a572450428209c2b2ec8083fa
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Fri Feb 10 01:09:01 2017 -0500

    wsd: we need to dump NewSession event on every connection
    
    ...and not just when loading a new document.
    
    Change-Id: If5b19e500c59a8d1fcf96666ef244833c05e2b99
    Reviewed-on: https://gerrit.libreoffice.org/34118
    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 fe3ea89..32c4c17 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -366,10 +366,10 @@ bool DocumentBroker::load(std::shared_ptr<ClientSession>& session, const std::st
         // Use the local temp file's timestamp.
         _lastFileModifiedTime = Poco::File(_storage->getLocalRootPath()).getLastModified();
         _tileCache.reset(new TileCache(uriPublic.toString(), _lastFileModifiedTime, _cacheRoot));
-
-        LOOLWSD::dumpNewSessionTrace(getJailId(), sessionId, _uriOrig, _storage->getRootFilePath());
     }
 
+    LOOLWSD::dumpNewSessionTrace(getJailId(), sessionId, _uriOrig, _storage->getRootFilePath());
+
     // Since document has been loaded, send the stats if its WOPI
     if (wopiStorage != nullptr)
     {


More information about the Libreoffice-commits mailing list