mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-02 20:58:12 +08:00
Fix repeating task after timeout (#184)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class TimeoutException(SystemExit):
|
||||
"""
|
||||
Exception for when a worker takes too long to complete a task
|
||||
Raising SystemExit will make sure the function terminates gracefully.
|
||||
"""
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user