This commit is contained in:
Scott E. Graves 2024-12-20 14:03:30 -06:00
parent 74f9364196
commit c943c1ecd7

View File

@ -32,7 +32,7 @@
namespace {
constexpr const auto default_api_auth_size{48U};
constexpr const auto default_download_timeout_ces{30U};
constexpr const auto default_eviction_delay_mins{10U};
constexpr const auto default_eviction_delay_mins{1U};
constexpr const auto default_high_freq_interval_secs{30U};
constexpr const auto default_low_freq_interval_secs{0U * 60U};
constexpr const auto default_max_cache_size_bytes{
@ -984,11 +984,8 @@ auto app_config::load() -> bool {
// Handle configuration defaults for new config versions
if (version != REPERTORY_CONFIG_VERSION) {
if (version > REPERTORY_CONFIG_VERSION) {
version = REPERTORY_CONFIG_VERSION;
}
version_ = version;
version_ = REPERTORY_CONFIG_VERSION;
// TODO upgrade future version
found = false;
}