-
-
Notifications
You must be signed in to change notification settings - Fork 534
Store worker's PID when a job is started #258
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
Conversation
Add a field in the "queue_job" model to store the worker pid. No usage for new besides "logging" for debugging (helps to find which process to investigate in case a job is stuck). Later, it may be useful to improve the recovery of job that stay in the wrong state when the job runner restarts. Closes OCA#177
sbidoul
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding with one ear while listening to talks with the other ?
Thanks for implementing this !
|
/ocabot merge minor |
|
This PR looks fantastic, let's merge it! |
|
It looks like something changed on |
|
It looks like something changed on |
|
Congratulations, your PR was merged at 4ae3e86. Thanks a lot for contributing to OCA. ❤️ |
Add a field in the "queue_job" model to store the worker pid.
No usage for new besides "logging" for debugging (helps to find which
process to investigate in case a job is stuck).
Later, it may be useful to improve the recovery of job that stay in the
wrong state when the job runner restarts.
Closes #177