Update FileCache.cpp

This commit is contained in:
Kseniia Sumarokova 2023-08-11 19:34:43 +02:00 committed by GitHub
parent 2245bde85d
commit 65fac88e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1005,7 +1005,7 @@ void FileCache::loadMetadata()
log,
"Cache capacity changed (max size: {}, used: {}), "
"cached file `{}` does not fit in cache anymore (size: {})",
main_priority->getSizeLimit(), main_priority->getSize(lock), offset_it->path(), size);
main_priority->getSizeLimit(), main_priority->getSize(lock), offset_it->path().string(), size);
fs::remove(offset_it->path());
}