dashboard: fix CountDownLatch wait timeout in MetricFetcher when machine is dead (#645)
This commit is contained in:
parent
5f20899e34
commit
4b0960c942
|
|
@ -195,6 +195,7 @@ public class MetricFetcher {
|
|||
for (final MachineInfo machine : machines) {
|
||||
// auto remove
|
||||
if (machine.isDead()) {
|
||||
latch.countDown();
|
||||
appManagement.getDetailApp(app).removeMachine(machine.getIp(), machine.getPort());
|
||||
logger.info("Dead machine removed: {}:{} of {}", machine.getIp(), machine.getPort(), app);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue