From d8a840d0521aff6542e9fdfc7673377ad1276f48 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Wed, 23 Jun 2021 15:28:50 -0700 Subject: [PATCH] changed default and added to comment --- include/consts.hpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/include/consts.hpp b/include/consts.hpp index 3f53e1c..e1c92b6 100644 --- a/include/consts.hpp +++ b/include/consts.hpp @@ -13,6 +13,17 @@ constexpr const char *config_location = "../config.json"; constexpr bool return_on_del = false; constexpr const char *return_account = ""; -//if true, when frequency is hit after changes have happened then save -//if false, when frequency is hit save -#define CONSERVATIVE_DISK_SAVE true \ No newline at end of file +/* +if true, when frequency is hit after changes have happened then save + pros + LOW disk usage + cons + overhead to all mutating functions +if false, when frequency is hit save + pros + safer + no atomic overhead + cons + CONSTANT disk usage +*/ +#define CONSERVATIVE_DISK_SAVE false \ No newline at end of file