[TD-1986]<fix>: default days to 10 instead of 2

This commit is contained in:
Minglei Jin 2020-11-13 00:55:11 -05:00
parent 2c8974a5d3
commit c26e1a9076
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ void tsDataSwap(void *pLeft, void *pRight, int32_t type, int32_t size, void* buf
#define TSDB_MIN_DAYS_PER_FILE 1
#define TSDB_MAX_DAYS_PER_FILE 3650
#define TSDB_DEFAULT_DAYS_PER_FILE 2
#define TSDB_DEFAULT_DAYS_PER_FILE 10
#define TSDB_MIN_KEEP 1 // data in db to be reserved.
#define TSDB_MAX_KEEP 365000 // data in db to be reserved.