diff --git a/source/dnode/mgmt/interface/src/dmInt.c b/source/dnode/mgmt/interface/src/dmInt.c index e79fd59bd0..928321a53f 100644 --- a/source/dnode/mgmt/interface/src/dmInt.c +++ b/source/dnode/mgmt/interface/src/dmInt.c @@ -141,7 +141,6 @@ void dmReportStartup(SDnode *pDnode, const char *pName, const char *pDesc) { tstrncpy(pStartup->name, pName, TSDB_STEP_NAME_LEN); tstrncpy(pStartup->desc, pDesc, TSDB_STEP_DESC_LEN); dInfo("step:%s, %s", pStartup->name, pStartup->desc); - taosMsleep(300); } void dmReportStartupByWrapper(SMgmtWrapper *pWrapper, const char *pName, const char *pDesc) { diff --git a/tools/shell/src/shellMain.c b/tools/shell/src/shellMain.c index c4776b0d1c..5c18e60e50 100644 --- a/tools/shell/src/shellMain.c +++ b/tools/shell/src/shellMain.c @@ -617,10 +617,10 @@ void shellTestNetWork() { void shellCheckServerStatus() { if (!args.status && !args.verbose) return; - char details[1024] = {0}; TSDB_SERVER_STATUS code; do { + char details[1024] = {0}; code = taos_check_server_status(args.host, args.port, details, args.verbose ? 1024 : 0); switch (code) { case TSDB_SRV_STATUS_UNAVAILABLE: