forked from j62/ctbrec
Change log level
This commit is contained in:
parent
c767d14aa9
commit
643650d69e
|
@ -38,8 +38,6 @@ public class OnlineMonitor extends Thread {
|
||||||
|
|
||||||
private Map<String, ExecutorService> executors = new HashMap<>();
|
private Map<String, ExecutorService> executors = new HashMap<>();
|
||||||
|
|
||||||
// TODO divide models into buckets by their site in each iteration a model of each bucket can be testes in parallel
|
|
||||||
// this will speed up the testing, but not hammer the sites
|
|
||||||
public OnlineMonitor(Recorder recorder) {
|
public OnlineMonitor(Recorder recorder) {
|
||||||
this.recorder = recorder;
|
this.recorder = recorder;
|
||||||
setName("OnlineMonitor");
|
setName("OnlineMonitor");
|
||||||
|
@ -109,7 +107,7 @@ public class OnlineMonitor extends Thread {
|
||||||
EventBusHolder.BUS.post(new ModelIsOnlineEvent(model));
|
EventBusHolder.BUS.post(new ModelIsOnlineEvent(model));
|
||||||
}
|
}
|
||||||
Model.State state = model.getOnlineState(false);
|
Model.State state = model.getOnlineState(false);
|
||||||
LOG.debug("Model online state: {}", state);
|
LOG.trace("Model online state: {} {}", model.getName(), state);
|
||||||
Model.State oldState = states.getOrDefault(model, UNKNOWN);
|
Model.State oldState = states.getOrDefault(model, UNKNOWN);
|
||||||
states.put(model, state);
|
states.put(model, state);
|
||||||
if (state != oldState) {
|
if (state != oldState) {
|
||||||
|
|
Loading…
Reference in New Issue