Skip to content
Snippets Groups Projects
Commit ac8640d3 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

SL-15200: LLPurgeDiskCacheThread's CHECK_INTERVAL is secs.

parent b3708ac2
No related branches found
No related tags found
No related merge requests found
...@@ -372,9 +372,9 @@ LLPurgeDiskCacheThread::LLPurgeDiskCacheThread() : ...@@ -372,9 +372,9 @@ LLPurgeDiskCacheThread::LLPurgeDiskCacheThread() :
void LLPurgeDiskCacheThread::run() void LLPurgeDiskCacheThread::run()
{ {
constexpr long CHECK_INTERVAL = 60; constexpr std::chrono::seconds CHECK_INTERVAL{60};
while (LLApp::instance()->sleep(std::chrono::seconds(CHECK_INTERVAL))) while (LLApp::instance()->sleep(CHECK_INTERVAL))
{ {
LLDiskCache::instance().purge(); LLDiskCache::instance().purge();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment