From 53692101bf190d979fdae0fdb5f7ae4a069d8b46 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Sat, 20 Jan 2024 10:35:22 +0100 Subject: [PATCH] chore: set a default for cache tidy strategy expiry time --- include/dwarfs/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dwarfs/options.h b/include/dwarfs/options.h index 7e885570..530637c6 100644 --- a/include/dwarfs/options.h +++ b/include/dwarfs/options.h @@ -61,7 +61,7 @@ struct history_config { struct cache_tidy_config { cache_tidy_strategy strategy{cache_tidy_strategy::NONE}; 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 {