[Libreoffice-commits] online.git: wsd/DocumentBroker.cpp
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 23 11:26:55 UTC 2020
wsd/DocumentBroker.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit a541dc5bcbb089f8ffbf977e8c62d39065dc2d24
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Jun 23 13:44:28 2020 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Jun 23 13:26:37 2020 +0200
No need for this 'if (false)'
Change-Id: I552ee8873d398b428aa2c54d7d762c13144b8b75
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96931
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index c242da586..da71968f6 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -432,10 +432,8 @@ void DocumentBroker::pollThread()
lastClipboardHashUpdateTime = now;
}
- if (false)
- ;
// Remove idle documents after 1 hour.
- else if (isLoaded() && getIdleTimeSecs() >= IdleDocTimeoutSecs)
+ if (isLoaded() && getIdleTimeSecs() >= IdleDocTimeoutSecs)
{
// Stop if there is nothing to save.
LOG_INF("Autosaving idle DocumentBroker for docKey [" << getDocKey() << "] to kill.");
More information about the Libreoffice-commits
mailing list