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

timeout failed tasks handling using custom middleware. #734

Open
Chintanabbvie opened this issue Nov 20, 2023 · 0 comments
Open

timeout failed tasks handling using custom middleware. #734

Chintanabbvie opened this issue Nov 20, 2023 · 0 comments

Comments

@Chintanabbvie
Copy link

i have working a project which uses more than 1000 plus django-q async task. Now i have to handle all failed task due to timeout error.
one cumbersome method is to handle entire async task using try exception. for this I have to go each file edit it accordingly.
second is --> to create a custom middlware script which process each request and catch the exceptions. Is the second approach work. A help/guide will be very handy to me

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

No branches or pull requests

1 participant