Revert "Simple cache viewer: Enable some cache purge log output for testing"

This reverts commit ad952d6744. Iterate over the cache directory one time instead of three.
master
PanteraPolnocy 2021-08-30 10:03:56 +02:00
parent 78b5595add
commit 9dee543ea3
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ LLDiskCache::LLDiskCache(const std::string cache_dir,
void LLDiskCache::purge()
{
//if (mEnableCacheDebugInfo)
if (mEnableCacheDebugInfo)
{
LL_INFOS() << "Total dir size before purge is " << dirFileSize(mCacheDir) << LL_ENDL;
}
@ -181,7 +181,7 @@ void LLDiskCache::purge()
}
}
//if (mEnableCacheDebugInfo)
if (mEnableCacheDebugInfo)
{
auto end_time = std::chrono::high_resolution_clock::now();
auto execute_time = std::chrono::duration_cast<std::chrono::milliseconds>(end_time - start_time).count();