Satish K
Committed by Gerrit Code Review

Inconsistent synchronization fix for HostMonitor.timeout

Change-Id: I8b6975c65dadba93bccd951ebc309e379c5d7be1
......@@ -168,7 +168,9 @@ public class HostMonitor implements TimerTask {
}
}
this.timeout = Timer.getTimer().newTimeout(this, probeRate, TimeUnit.MILLISECONDS);
synchronized (this) {
this.timeout = Timer.getTimer().newTimeout(this, probeRate, TimeUnit.MILLISECONDS);
}
}
/**
......