Koed00 / django-q

A multiprocessing distributed task queue for Django
https://django-q.readthedocs.org
MIT License
1.83k stars 285 forks source link

timeout failed tasks handling using custom middleware. #734

Open Chintanabbvie opened 10 months ago

Chintanabbvie commented 10 months ago

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