[ Status ] add the async way to get agent status
This commit is contained in:
@@ -76,7 +76,7 @@ public class StatusController {
|
||||
public R<Map<String, List<String>>> ManualUpdateAgentStatus() {
|
||||
|
||||
// 手动调用更新
|
||||
agentStatusCacheService.updateAgentStatusMapCache();
|
||||
agentStatusCacheService.updateAgentStatusMapCache(agentAliveStatusMap);
|
||||
|
||||
return R.ok(STATUS_AGENT_LIST_MAP);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user