log: log rotate logic for community

This commit is contained in:
kailixu 2024-12-03 16:13:38 +08:00
parent 608ae99579
commit 4a9d72f54d
1 changed files with 1 additions and 1 deletions

View File

@ -1078,7 +1078,7 @@ static void taosWriteLog(SLogBuff *pLogBuf) {
}
#define LOG_ROTATE_INTERVAL 3600
#ifdef ASSERT_NOT_CORE
#if !defined(TD_ENTERPRISE) || defined(ASSERT_NOT_CORE)
#define LOG_INACTIVE_TIME 7200
#define LOG_ROTATE_BOOT 900
#else