mirror of
https://github.com/openwrt/packages.git
synced 2025-09-25 19:32:50 +00:00
Calculating the next check time based on the last update time is not very accurate if the next check is a large multiple forwards from the last update time because the cumulative sleeps and wake times are not exact but best effort of the OS. Other factors including clock-drift give rise to a larger time discrepancy the further the next update is in the future. Stash the next check time which should be quite accurate since it's only one sleep instance away. This is also for use in the GUI. Tested on 24.10.2 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
23 KiB
23 KiB