@@ -1082,7 +1082,7 @@ static int32_t taosAddServerCfg(SConfig *pCfg) {
10821082 TAOS_CHECK_RETURN (cfgAddBool (pCfg , "authServer" , tsAuthServer , CFG_SCOPE_SERVER , CFG_DYN_SERVER , CFG_CATEGORY_GLOBAL ));
10831083 TAOS_CHECK_RETURN (cfgAddBool (pCfg , "authReq" , tsAuthReq , CFG_SCOPE_SERVER , CFG_DYN_SERVER , CFG_CATEGORY_GLOBAL ));
10841084 TAOS_CHECK_RETURN (cfgAddInt32 (pCfg , "authReqInterval" , tsAuthReqInterval , 1 , 86400 * 30 , CFG_SCOPE_SERVER , CFG_DYN_SERVER , CFG_CATEGORY_GLOBAL ));
1085- TAOS_CHECK_RETURN (cfgAddString (pCfg , "authReqUrl" , tsAuthReqUrl , CFG_SCOPE_SERVER , CFG_DYN_SERVER_LAZY , CFG_CATEGORY_GLOBAL ));
1085+ TAOS_CHECK_RETURN (cfgAddString (pCfg , "authReqUrl" , tsAuthReqUrl , CFG_SCOPE_SERVER , CFG_DYN_SERVER , CFG_CATEGORY_GLOBAL ));
10861086#endif
10871087 // clang-format on
10881088
@@ -2770,6 +2770,25 @@ static int32_t taosCfgDynamicOptionsForServer(SConfig *pCfg, const char *name) {
27702770#endif
27712771 goto _exit ;
27722772 }
2773+ #ifdef TD_ENTERPRISE
2774+ if (strcasecmp (name , "authServer" ) == 0 ) {
2775+ tsAuthServer = pItem -> bval ;
2776+ goto _exit ;
2777+ }
2778+ if (strcasecmp (name , "authReq" ) == 0 ) {
2779+ tsAuthReq = pItem -> bval ;
2780+ goto _exit ;
2781+ }
2782+ if (strcasecmp (name , "authReqInterval" ) == 0 ) {
2783+ tsAuthReqInterval = pItem -> i32 ;
2784+ goto _exit ;
2785+ }
2786+ if (strcasecmp (name , "authReqUrl" ) == 0 ) {
2787+ TAOS_CHECK_GOTO (taosCheckCfgStrValueLen (pItem -> name , pItem -> str , TSDB_FQDN_LEN ), & lino , _exit );
2788+ tstrncpy (tsAuthReqUrl , pItem -> str , TSDB_FQDN_LEN );
2789+ goto _exit ;
2790+ }
2791+ #endif
27732792
27742793 if (strcasecmp (name , "minReservedMemorySize" ) == 0 ) {
27752794 tsMinReservedMemorySize = pItem -> i32 ;
0 commit comments