Fixed recursive issue with dummy event and reduce update time for gui selections

This commit is contained in:
Ziver Koc 2021-08-28 16:58:03 +02:00
parent 5e31cea660
commit 9e58387ef7
2 changed files with 4 additions and 2 deletions

View file

@ -21,7 +21,7 @@ import java.util.logging.Logger;
public class ConfigEventValueProvider implements Configurator.ConfigValueProvider<Event> {
private static final Logger logger = LogUtil.getLogger();
protected static int DEVICE_REFRESH_TIME_IN_SECONDS = 30;
protected static int DEVICE_REFRESH_TIME_IN_SECONDS = 3;
private Map<String, Event> events = new HashMap<>();
private Timer updateTimer = new Timer(DEVICE_REFRESH_TIME_IN_SECONDS * 1000);