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

feat(python): wait for jobs to finalize on close #2545

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

klaemo
Copy link
Contributor

@klaemo klaemo commented Apr 26, 2024

This makes the worker close method wait for jobs to be done processing in the python library. I think this brings it closer to the behavior of the JS library.

We have used this in production for a while and has worked out well.

@klaemo klaemo changed the title python: wait for jobs to finalize on close feat(python): wait for jobs to finalize on close Apr 26, 2024
Copy link
Collaborator

@roggervalf roggervalf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@roggervalf roggervalf merged commit d81f210 into taskforcesh:master Apr 28, 2024
11 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 30, 2024
## [5.7.7](v5.7.6...v5.7.7) (2024-04-30)

### Bug Fixes

* **worker:** force timeout on bzpopmin command ([#2543](#2543)) ([ae7cb6c](ae7cb6c))
* **worker:** wait for jobs to finalize on close ([#2545](#2545)) [python] ([d81f210](d81f210))
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.

None yet

2 participants