From c95f13cffeb33d9a0e962ef20b16623e37c65433 Mon Sep 17 00:00:00 2001 From: Benguang Zhao Date: Tue, 25 Jul 2023 18:30:40 +0800 Subject: [PATCH] enh: change default WAL_RETENTION_PERIOD as 3600 --- include/util/tdef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/util/tdef.h b/include/util/tdef.h index 69b012ecea..b67ead2c5c 100644 --- a/include/util/tdef.h +++ b/include/util/tdef.h @@ -379,8 +379,8 @@ typedef enum ELogicConditionType { #define TSDB_DEFAULT_HASH_SUFFIX 0 #define TSDB_DB_MIN_WAL_RETENTION_PERIOD -1 -#define TSDB_REP_DEF_DB_WAL_RET_PERIOD 0 -#define TSDB_REPS_DEF_DB_WAL_RET_PERIOD 0 +#define TSDB_REP_DEF_DB_WAL_RET_PERIOD 3600 +#define TSDB_REPS_DEF_DB_WAL_RET_PERIOD 3600 #define TSDB_DB_MIN_WAL_RETENTION_SIZE -1 #define TSDB_REP_DEF_DB_WAL_RET_SIZE 0 #define TSDB_REPS_DEF_DB_WAL_RET_SIZE 0 -- GitLab