Skip to content

Resolve "Background tasks scheduler"

Dawit Abate requested to merge 333-background-tasks-scheduler into develop

Description

  • This MR adds background_tasks module that handles background tasks to be run once, periodically or by a signal.
  • Tasks: Defines a task to be scheduled.
  • *Trigger: Different implementations of Trigger which tells if the task is ready to run.
  • Scheduler: Manages tasks and run tasks according to their set triggers.

Checklist

  • I have update updated the @version string in main.go. See https://semver.org/
  • I have update CHANGELOG.md with a short description of changes.
  • I have run swag init to update the swagger docs.

Addresses #333

Edited by Dagim Sisay

Merge request reports