summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/lldiskcache.h
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2021-05-12 10:45:23 +0200
committerAnsariel <ansariel.hiller@phoenixviewer.com>2021-05-12 10:45:23 +0200
commit0e253cb9098cb58b2f3528860a5fd9f00ec5af96 (patch)
treee74f2c0b553478c5304789a86147176db271f4e6 /indra/llfilesystem/lldiskcache.h
parentc241c5d4b8007793cb4b5f5e54fa3883aad3dad5 (diff)
BUG-230673: Trim asset disk cache regularly
Diffstat (limited to 'indra/llfilesystem/lldiskcache.h')
-rw-r--r--indra/llfilesystem/lldiskcache.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llfilesystem/lldiskcache.h b/indra/llfilesystem/lldiskcache.h
index c19714434a..867a80f332 100644
--- a/indra/llfilesystem/lldiskcache.h
+++ b/indra/llfilesystem/lldiskcache.h
@@ -180,4 +180,15 @@ class LLDiskCache :
bool mEnableCacheDebugInfo;
};
+class LLPurgeDiskCacheThread : public LLThread
+{
+public:
+ LLPurgeDiskCacheThread();
+
+protected:
+ void run() override;
+
+private:
+ LLTimer mTimer;
+};
#endif // _LLDISKCACHE