diff --git a/include/common/tglobal.h b/include/common/tglobal.h index b08916f891fba90f246206956b19741d916914cb..cd423bf4c94d7790a145ef7ad48b6fb7c52193c6 100644 --- a/include/common/tglobal.h +++ b/include/common/tglobal.h @@ -83,6 +83,7 @@ extern int64_t tsVndCommitMaxIntervalMs; extern int64_t tsMndSdbWriteDelta; extern int64_t tsMndLogRetention; extern int8_t tsGrant; +extern bool tsMndSkipGrant; // monitor extern bool tsEnableMonitor; diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 9a027366ef84e372f89bc7adbd80194a0b4289cc..22a0a77d6abde8d511ce405525dccdd778e292a7 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -75,6 +75,7 @@ int64_t tsVndCommitMaxIntervalMs = 600 * 1000; int64_t tsMndSdbWriteDelta = 200; int64_t tsMndLogRetention = 2000; int8_t tsGrant = 1; +bool tsMndSkipGrant = false; // monitor bool tsEnableMonitor = true;