summaryrefslogtreecommitdiffstats
path: root/wsd/ClientSession.hpp
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-03-02 19:26:08 +0100
committerMichael Meeks <michael.meeks@collabora.com>2019-03-02 21:42:34 +0100
commit829e94b779afad5bc6192e54868ecbf17a61633f (patch)
treea025395c1579748af6a45dda35b44fd70b46b11e /wsd/ClientSession.hpp
parenttdf#123482 - cleanup convert-to folder more reliably. (diff)
downloadonline-829e94b779afad5bc6192e54868ecbf17a61633f.tar.gz
online-829e94b779afad5bc6192e54868ecbf17a61633f.zip
TileCache: remove redundant, expensive tracking in ClientSession.
No need for all these call outs. removeOutdatedTileSubscriptions can't, Expect it is quicker now and more reliable to trace the tiles being rendered and count the waiters. Change-Id: I9724c7f38cf888b35c628857c0f11b51e74613ca
Diffstat (limited to 'wsd/ClientSession.hpp')
-rw-r--r--wsd/ClientSession.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/wsd/ClientSession.hpp b/wsd/ClientSession.hpp
index 827a0f8577..8db5b37183 100644
--- a/wsd/ClientSession.hpp
+++ b/wsd/ClientSession.hpp
@@ -21,7 +21,6 @@
#include <map>
#include <list>
#include <utility>
-#include <unordered_set>
class DocumentBroker;
@@ -130,14 +129,6 @@ public:
/// Call this method anytime when a new tile is sent to the client
void traceTileBySend(const TileDesc& tile, bool deduplicated = false);
- /// Trask tiles what we a subscription to
- void traceSubscribeToTile(const std::string& tileCacheName);
- void traceUnSubscribeToTile(const std::string& tileCacheName);
- void removeOutdatedTileSubscriptions();
- void clearTileSubscription();
-
- size_t getTilesBeingRenderedCount() const {return _tilesBeingRendered.size();}
-
/// Clear wireId map anytime when client visible area changes (visible area, zoom, part number)
void resetWireIdMap();
@@ -227,10 +218,6 @@ private:
/// TileID's of the sent tiles. Push by sending and pop by tileprocessed message from the client.
std::list<std::pair<std::string, std::chrono::steady_clock::time_point>> _tilesOnFly;
- /// Names of tiles requested from kit, which this session is subsrcibed to
- /// Track only non-thumbnail tiles (getId() == -1)
- std::unordered_set<std::string> _tilesBeingRendered;
-
/// Requested tiles are stored in this list, before we can send them to the client
std::deque<TileDesc> _requestedTiles;