summaryrefslogtreecommitdiff
path: root/indra/llfilesystem
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2021-05-18 09:51:45 -0400
committerNat Goodspeed <nat@lindenlab.com>2021-05-18 09:51:45 -0400
commitac8640d338997020ca0650001ff004e1103ac5cb (patch)
tree92c322ace000db1e718f5f4019dbd06d39ece93e /indra/llfilesystem
parentb3708ac238d51eaf808cb77a4493e518c1593e33 (diff)
SL-15200: LLPurgeDiskCacheThread's CHECK_INTERVAL is secs.
Diffstat (limited to 'indra/llfilesystem')
-rw-r--r--indra/llfilesystem/lldiskcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llfilesystem/lldiskcache.cpp b/indra/llfilesystem/lldiskcache.cpp
index 6b0bbaeb48..905351886f 100644
--- a/indra/llfilesystem/lldiskcache.cpp
+++ b/indra/llfilesystem/lldiskcache.cpp
@@ -372,9 +372,9 @@ LLPurgeDiskCacheThread::LLPurgeDiskCacheThread() :
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();
}