Currently scan tasks are made periodic by gathering them alongside a sleep(period). Any delays in the callback being fired will add up over time.
Update this logic to store the actual and then adjust the sleep duration relative to that time to account for delays between callbacks.
Currently scan tasks are made periodic by gathering them alongside a sleep(period). Any delays in the callback being fired will add up over time.
Update this logic to store the actual and then adjust the sleep duration relative to that time to account for delays between callbacks.