mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2025-12-21 20:12:34 +01:00
* Fix setting initial global update delay In case no update has run yet, and the "last automated update" defaulted to 0, the calculation always resulted in a multiple of the interval. This resulted for e.g., interval 24, to always be scheduled at 00:00. For e.g., interval 6, it was always one of the following times: 00:00, 06:00, 12:00, 18:00; depending on the current system time. * Delete the existing "last automated update time" So that the update will be triggered based on the time the server got started again after the update. * Extract migrations into separate functions * Cleanup migration execution logic