From: Tuukka Lehtonen Date: Thu, 7 May 2020 20:29:12 +0000 (+0300) Subject: Replace scheduleAtFixedRate with scheduleWithFixedDelay X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=00a0eae4da98b701fa38a6813b1743b754c5c99e;hp=00a0eae4da98b701fa38a6813b1743b754c5c99e Replace scheduleAtFixedRate with scheduleWithFixedDelay ScheduledExecutorService.scheduleAtFixedRate tends to run enormous amounts of runnables that would have been scheduled during a machine is in sleep, after the machines wakes up from sleep, retroactively. This is not good and can be avoided by using scheduleWithFixedDelay which is usually good enough regarding the delay between executions. gitlab #531 Change-Id: I4ac3b11f1f9236d411debb352fce610c33410659 ---