diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2021-05-18 09:51:45 -0400 | 
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2021-05-18 09:51:45 -0400 | 
| commit | ac8640d338997020ca0650001ff004e1103ac5cb (patch) | |
| tree | 92c322ace000db1e718f5f4019dbd06d39ece93e | |
| parent | b3708ac238d51eaf808cb77a4493e518c1593e33 (diff) | |
SL-15200: LLPurgeDiskCacheThread's CHECK_INTERVAL is secs.
| -rw-r--r-- | indra/llfilesystem/lldiskcache.cpp | 4 | 
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();      } | 
