Fix repeating task after timeout (#184)

This commit is contained in:
Stan Triepels
2024-06-23 22:36:29 +02:00
committed by GitHub
parent efa0d6d9e4
commit cb253357fb
5 changed files with 64 additions and 3 deletions
+7
View File
@@ -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