From c3c48f265f5db6e6cd0f0ead59ddfd2d43175ff4 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 8b27e039fc..3ee35b3b6b 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