Skip to content

Scan tasks can drift #334

@GDYendell

Description

@GDYendell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions