Update FileCacheSettings.cpp

This commit is contained in:
Kseniia Sumarokova 2024-11-08 16:30:54 +01:00 committed by GitHub
parent fdc18a6a28
commit 00e1c5cf0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ void FileCacheSettings::loadImpl(FuncHas has, FuncGetUInt get_uint, FuncGetStrin
background_download_queue_size_limit = get_uint("background_download_queue_size_limit"); background_download_queue_size_limit = get_uint("background_download_queue_size_limit");
if (has("background_download_max_file_segment_size")) if (has("background_download_max_file_segment_size"))
background_download_threads = get_uint("background_download_max_file_segment_size"); background_download_max_file_segment_size = get_uint("background_download_max_file_segment_size");
if (has("load_metadata_threads")) if (has("load_metadata_threads"))
load_metadata_threads = get_uint("load_metadata_threads"); load_metadata_threads = get_uint("load_metadata_threads");