mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-14 00:04:34 -05:00
Properly deschedule active tasks (#1413)
This commit is contained in:
@@ -163,7 +163,7 @@ class Updater : IUpdater {
|
||||
}
|
||||
}
|
||||
|
||||
HAScheduler.schedule(::autoUpdateTask, updateInterval, timeToNextExecution, "global-update")
|
||||
currentUpdateTaskId = HAScheduler.schedule(::autoUpdateTask, updateInterval, timeToNextExecution, "global-update")
|
||||
}
|
||||
|
||||
private fun isRunning(): Boolean =
|
||||
|
||||
Reference in New Issue
Block a user