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

The worker_abort hook with mail function cannot be executed to completion #3336

Open
bingyun123 opened this issue Jan 3, 2025 · 1 comment · May be fixed by #3337
Open

The worker_abort hook with mail function cannot be executed to completion #3336

bingyun123 opened this issue Jan 3, 2025 · 1 comment · May be fixed by #3337

Comments

@bingyun123
Copy link

bingyun123 commented Jan 3, 2025

Issue:
When a custom worker_abort hook contains time-consuming operations(Email reminder), it will be interrupted after executing part of it.

Why:
Some of my jobs (Background thread running) take a long time to execute, when the timeout period is exceeded, the job will be killed. At this time, I need to customize the hook to listen for the exception information.

@huiyanru
Copy link

huiyanru commented Jan 3, 2025

I have the same issue.

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 a pull request may close this issue.

2 participants