mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-06-30 09:24:34 -05:00
Fix/updater automated update max interval of 23 hours (#606)
* Rename schedule functions * Introduce Base task for "HATask" * Support kotlin Timer repeated interval in HAScheduler It's not possible to schedule a task via cron expression to run every x hours in case the set hours are greater than 23. To be able to do this and still keep the functionality provided by the "HAScheduler" it has to also support repeated tasks scheduled via the default Timer * Support global update interval greater 23 hours * Use "globalUpdateInterval" to disable auto updates Gets rid of an unnecessary setting
This commit is contained in:
@@ -26,8 +26,7 @@ server.maxParallelUpdateRequests = 10 # sets how many sources can be updated in
|
||||
server.excludeUnreadChapters = true
|
||||
server.excludeNotStarted = true
|
||||
server.excludeCompleted = true
|
||||
server.automaticallyTriggerGlobalUpdate = false
|
||||
server.globalUpdateInterval = 12 # time in hours (doesn't have to be full hours e.g. 12.5) - range: 6 <= n < ∞ - default: 12 hours - interval in which the global update will be automatically triggered
|
||||
server.globalUpdateInterval = 12 # time in hours - 0 to disable it - (doesn't have to be full hours e.g. 12.5) - range: 6 <= n < ∞ - default: 12 hours - interval in which the global update will be automatically triggered
|
||||
|
||||
# Authentication
|
||||
server.basicAuthEnabled = false
|
||||
|
||||
Reference in New Issue
Block a user