修复运维cmdid可能为空的问题

nx2024
XI.CHEN 5 months ago
parent bc95f874a0
commit b3da158b7d

@ -567,6 +567,10 @@ public class MpMasterService extends Service {
if (appConfig.heartbeat > 0) {
mMpHeartbeatDuration = appConfig.heartbeat * 60000;
}
if(TextUtils.isEmpty(appConfig.cmdid))
{
appConfig.cmdid = SysApi.getSerialNo(getApplicationContext());
}
logger.warning("Start Mntn report: " + masterUrl + " MntnMode=" + (mMntnMode ? "1" : "0") + " QuickHB=" + (mQuickHbMode ? "1" : "0"));

Loading…
Cancel
Save