mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-10 13:04:15 -04:00
chore: set a default for cache tidy strategy expiry time
This commit is contained in:
parent
291f541192
commit
53692101bf
@ -61,7 +61,7 @@ struct history_config {
|
|||||||
struct cache_tidy_config {
|
struct cache_tidy_config {
|
||||||
cache_tidy_strategy strategy{cache_tidy_strategy::NONE};
|
cache_tidy_strategy strategy{cache_tidy_strategy::NONE};
|
||||||
std::chrono::milliseconds interval{std::chrono::seconds(1)};
|
std::chrono::milliseconds interval{std::chrono::seconds(1)};
|
||||||
std::chrono::milliseconds expiry_time;
|
std::chrono::milliseconds expiry_time{std::chrono::seconds(60)};
|
||||||
};
|
};
|
||||||
|
|
||||||
struct metadata_options {
|
struct metadata_options {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user