humanmade / humanmade/Cavalcade

Add (optional) timeout option

Open
#18 0 comments 1 reaction 0 assignees View on GitHub
Enhancement
Dominant language
PHP
Stars
542
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Occasionally, jobs may get stuck. Having a high limit of something like 30 mins (configurable) would help catch these.
- [ ] Add timeout setting via wp-config constant
- [ ] Check worker timing during loop
- [ ] Kill worker if over time limit and mark job as failed
- [ ] Log worker failure reason

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.