This commit is contained in:
@ -23,6 +23,7 @@
|
||||
|
||||
#include "events/event_system.hpp"
|
||||
#include "events/events.hpp"
|
||||
#include "file_manager/cache_size_mgr.hpp"
|
||||
#include "platform/platform.hpp"
|
||||
#include "types/startup_exception.hpp"
|
||||
#include "utils/common.hpp"
|
||||
@ -1171,6 +1172,7 @@ void app_config::set_low_frequency_interval_secs(std::uint16_t value) {
|
||||
|
||||
void app_config::set_max_cache_size_bytes(std::uint64_t value) {
|
||||
set_value(max_cache_size_bytes_, value);
|
||||
cache_size_mgr::instance().shrink(0U);
|
||||
}
|
||||
|
||||
void app_config::set_max_upload_count(std::uint8_t value) {
|
||||
|
Reference in New Issue
Block a user