网关重启适配

This commit is contained in:
huangweixiong 2022-08-17 11:04:49 +08:00
parent 98a18a1ddd
commit 9bcdd78bae
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class MonitorControllerV2 {
for (CompletableFuture<List<?>> future : futures) { for (CompletableFuture<List<?>> future : futures) {
List<Map<String, Object>> list = (List<Map<String, Object>>) future.get(30, TimeUnit.SECONDS); List<Map<String, Object>> list = (List<Map<String, Object>>) future.get(30, TimeUnit.SECONDS);
list.forEach(item -> { list.forEach(item -> {
filterMap.containsKey(item.) // filterMap.containsKey(item.)
}); });
} }
ResponseEntity<HashMap> entity = restTemplate.getForEntity(url, HashMap.class, query, time); ResponseEntity<HashMap> entity = restTemplate.getForEntity(url, HashMap.class, query, time);