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

fix: the worker_abort hook interrupted after executing part #3337

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bingyun123
Copy link

@bingyun123 bingyun123 commented Jan 3, 2025

Issue: When a custom worker_abort hook contains time-consuming operations, it will be interrupted after executing part of it.
Closes #3336

Solve:
I change worker.aborted flag after kill_worker and it works fine

@bingyun123 bingyun123 force-pushed the fix-3336-worker_abort-hook branch from 8b8c2ea to 73ae038 Compare January 6, 2025 07:12
@bingyun123 bingyun123 force-pushed the fix-3336-worker_abort-hook branch from 73ae038 to 0676087 Compare January 6, 2025 07:35
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.

The worker_abort hook with mail function cannot be executed to completion
1 participant