fixed wrong method call
This commit is contained in:
@@ -65,7 +65,7 @@ public class ExpLogger {
|
|||||||
|
|
||||||
|
|
||||||
private static void startExpLogger() {
|
private static void startExpLogger() {
|
||||||
schdExctr.schedule(saveExpLoggerToDBRunnable, EXP_LOGGER_THREAD_SLEEP_DURATION_SECONDS, SECONDS);
|
schdExctr.scheduleWithFixedDelay(saveExpLoggerToDBRunnable, EXP_LOGGER_THREAD_SLEEP_DURATION_SECONDS, EXP_LOGGER_THREAD_SLEEP_DURATION_SECONDS, SECONDS);
|
||||||
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
|
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
|
||||||
stopExpLogger();
|
stopExpLogger();
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user