36c12dd49c
When issuing tile render requests proactively (upon getting invalidatetile event), if the registered request has no subscriber, TileCache::saveTileAndNotify simply drops the tiles! New call sequence: ClientSession::handleTileInvalidation docBroker->handleTileCombinedRequest tileCache().subscribeToTileRendering //< fix The end result was that we rendered tiles only to discard them, potentially leaving the clients with stale tiles (unless they requested new tiles themselves). If they do request them, we still benefit from the cached copies of the internal requests we had issued (and dropped). The issue is that we are wasting an opportunity for efficiency and relying on the client to request tiles when we normally push on invalidation, adding latency and being inconsistent. Change-Id: I4d3aa3739c5324ffca15c80b20dce29ac03eef73 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk> |
||
---|---|---|
.. | ||
data | ||
traces | ||
.gitignore | ||
countloolkits.hpp | ||
DeltaTests.cpp | ||
fakesockettest.cpp | ||
helpers.hpp | ||
httpcrashtest.cpp | ||
HttpRequestTests.cpp | ||
HttpTestServer.hpp | ||
HttpWhiteBoxTests.cpp | ||
httpwstest.cpp | ||
integration-http-server.cpp | ||
lokassert.hpp | ||
Makefile.am | ||
run_unit.sh.in | ||
test.cpp | ||
test.hpp | ||
testlog.hpp | ||
TileCacheTests.cpp | ||
TileQueueTests.cpp | ||
UnitAdmin.cpp | ||
UnitBadDocLoad.cpp | ||
UnitCalc.cpp | ||
UnitClient.cpp | ||
UnitClose.cpp | ||
UnitConvert.cpp | ||
UnitCopyPaste.cpp | ||
UnitCursor.cpp | ||
UnitEachView.cpp | ||
UnitFuzz.cpp | ||
UnitHosting.cpp | ||
UnitHTTP.cpp | ||
UnitHTTP.hpp | ||
UnitInsertDelete.cpp | ||
UnitLargePaste.cpp | ||
UnitLoad.cpp | ||
UnitLoadTorture.cpp | ||
UnitOAuth.cpp | ||
UnitPasswordProtected.cpp | ||
UnitPaste.cpp | ||
UnitPrefork.cpp | ||
UnitRenderingOptions.cpp | ||
UnitRenderSearchResult.cpp | ||
UnitRenderShape.cpp | ||
UnitSession.cpp | ||
UnitStorage.cpp | ||
UnitTiffLoad.cpp | ||
UnitTileCache.cpp | ||
UnitTimeout.cpp | ||
UnitTyping.cpp | ||
UnitUNOCommand.cpp | ||
UnitWOPI.cpp | ||
UnitWOPIAsyncUpload_Close.cpp | ||
UnitWOPIAsyncUpload_Modify.cpp | ||
UnitWOPIAsyncUpload_ModifyClose.cpp | ||
UnitWOPIDocumentConflict.cpp | ||
UnitWOPIFileUrl.cpp | ||
UnitWOPIHttpHeaders.cpp | ||
UnitWOPIHttpRedirect.cpp | ||
UnitWOPIHttpRedirectLoop.cpp | ||
UnitWOPILoadEncoded.cpp | ||
UnitWopiOwnertermination.cpp | ||
UnitWOPIRenameFile.cpp | ||
UnitWOPISaveAs.cpp | ||
UnitWOPITemplate.cpp | ||
UnitWOPIVersionRestore.cpp | ||
UnitWOPIWatermark.cpp | ||
WhiteBoxTests.cpp | ||
WopiProofTests.cpp | ||
WopiTestServer.hpp |