This commit is contained in:
kssenii 2024-04-08 15:23:41 +02:00
parent 1cd73b907c
commit 80c494a900

View File

@ -193,6 +193,8 @@ void FileCache::initialize()
if (keep_current_size_to_max_ratio != 1 || keep_current_elements_to_max_ratio != 1)
keep_up_free_space_ratio_task = Context::getGlobalContextInstance()->getSchedulePool().createTask(log->name(), [this] { freeSpaceRatioKeepingThreadFunc(); });
keep_up_free_space_ratio_task->schedule();
is_initialized = true;
}