From 86a0949c363ec0baafd4c46d6455bdd875dcafb6 Mon Sep 17 00:00:00 2001 From: kailixu Date: Sat, 10 Dec 2022 21:09:15 +0800 Subject: [PATCH] enh: enlarge max wal size from 3 MB to 4 MB --- src/inc/taosdef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inc/taosdef.h b/src/inc/taosdef.h index 8b6197845b..38ccf435c8 100644 --- a/src/inc/taosdef.h +++ b/src/inc/taosdef.h @@ -432,7 +432,7 @@ do { \ #define TSDB_PORT_HTTP 11 #define TSDB_PORT_ARBITRATOR 12 -#define TSDB_MAX_WAL_SIZE (1024*1024*3) +#define TSDB_MAX_WAL_SIZE (4<<20) #define TSDB_ARB_DUMMY_TIME 4765104000000 // 2121-01-01 00:00:00.000, :P -- GitLab