Skip to content

feat(services): add cron and background-job services#981

Open
karlitschek wants to merge 1 commit intomasterfrom
split/04-services-cron-jobs
Open

feat(services): add cron and background-job services#981
karlitschek wants to merge 1 commit intomasterfrom
split/04-services-cron-jobs

Conversation

@karlitschek
Copy link
Copy Markdown
Member

Adds three read-only service classes used by the upcoming admin dashboard cards. None are wired into existing controllers yet, so this change is a pure addition with no behavior change.

  • CronInfo - cron mode (cron / webcron / ajax), last-run
    timestamp, and a status threshold
  • JobQueueInfo - total / reserved / stuck job counts and the top
    job classes by queue size
  • SlowestJobs - average and max execution time per job class

Adds three read-only service classes used by the upcoming admin
dashboard cards. None are wired into existing controllers yet, so
this change is a pure addition with no behavior change.

* CronInfo      - cron mode (cron / webcron / ajax), last-run
                  timestamp, and a status threshold
* JobQueueInfo  - total / reserved / stuck job counts and the top
                  job classes by queue size
* SlowestJobs   - average and max execution time per job class

Signed-off-by: Frank Karlitschek <frank@nextcloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant