time_limit and soft_time_limit feature are not working for celery task with SQS #8381
Unanswered
Knight1997
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm not sure about the bug here. are you seeing the intended behavior? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I simply want to timeout the worker if the task is taking too long.
My setup: Running SQS locally using localStack and running 1 worker in solo pool. celery version=5.2.7
I am doing this:
Ideally in this case, it this case, worker should not print string
upload task finished
but it does and the log says:Task upload_task[2f8b2aed-ad95-44e1-976e-6f078dd0d90] succeeded in 10.0109819220379s: None
I am expecting It should have been timed out with some timeout exception. but it did not.
Beta Was this translation helpful? Give feedback.
All reactions