Skip to content

Reload polldevs.cf upon receiving a SIGHUP signal #467

@lunkwill42

Description

@lunkwill42

This was suggested by @runborg before he left Sikt: Although the interval at which polldevs.cf is reloaded can be configured in zino.toml using the polling.period option (defaulting to once a minute), sometimes it could be desirable to trigger an immediate reload using a signal.

SIGHUP is a conventional signal used for these kinds of reload operations, so I suggest a signal handler could be added to re-schedule an immediate run of the load_and_schedule_polldevs job (set up as an interval job in zino.zino.setup_initial_job_schedule()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions