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:
schroda
2023-07-22 17:41:52 +02:00
committed by GitHub
parent 2a83f290a5
commit c02496c4f0
7 changed files with 118 additions and 37 deletions

View File

@@ -16,7 +16,6 @@ server.maxParallelUpdateRequests = 10
server.excludeUnreadChapters = true
server.excludeNotStarted = true
server.excludeCompleted = true
server.automaticallyTriggerGlobalUpdate = false
server.globalUpdateInterval = 12
# misc