changed polling mechanics for liv hovers to reduce polling pressure in case something is slow in responding

This commit is contained in:
Martin Lippert
2018-01-09 10:32:23 +01:00
parent 95787432b7
commit a95384ca5e

View File

@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2017 Pivotal, Inc.
* Copyright (c) 2017, 2018 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -109,7 +109,7 @@ public class SpringLiveHoverWatchdog {
}
};
timer.scheduleAtFixedRate(task, 0, POLLING_INTERVAL_MILLISECONDS);
timer.schedule(task, 0, POLLING_INTERVAL_MILLISECONDS);
}
}