Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add (optional) timeout option #18

Open
4 tasks
rmccue opened this issue Jul 5, 2016 · 0 comments
Open
4 tasks

Add (optional) timeout option #18

rmccue opened this issue Jul 5, 2016 · 0 comments

Comments

@rmccue
Copy link
Member

rmccue commented Jul 5, 2016

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant