提交 ee0d10f4 authored 作者: blu's avatar blu

feature heartbeat: evcloudsvc - evdaemon

上级 54f52c2e
...@@ -1018,10 +1018,13 @@ public: ...@@ -1018,10 +1018,13 @@ public:
} }
} }
this->configMap.erase(sn); if(this->configMap.contains(sn))
this->peerData.erase(sn); this->configMap.erase(sn);
this->peerData["config"].erase(sn); if(this->peerData["config"].contains(sn))
this->peerData["status"].erase(sn); this->peerData["config"].erase(sn);
if(this->peerData["status"].contains(sn))
this->peerData["status"].erase(sn);
spdlog::info("evcloudsvc removed sn: {}", sn); spdlog::info("evcloudsvc removed sn: {}", sn);
LVDB::setValue(this->configMap, KEY_CONFIG_MAP); LVDB::setValue(this->configMap, KEY_CONFIG_MAP);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论