diff --git a/source/util/src/tlog.c b/source/util/src/tlog.c index da8f06895f..5433ed2eed 100644 --- a/source/util/src/tlog.c +++ b/source/util/src/tlog.c @@ -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