sfm: make write_interval const, as in unchanging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-01-23 20:17:36 +01:00
parent fa4c9d048e
commit b8f76886eb
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -16,7 +16,7 @@ public:
struct conf {
// std::chrono::minutes write_interval{10};
// 10 minutes (as the standard recommends) is a lot, go with 120s
std::chrono::seconds write_interval{120};
const std::chrono::seconds write_interval{120};
std::string seed_f_path{"./.fortuna.seed"};
std::size_t seed_f_length{64};