-
I have a test task that takes more than 30 seconds to execute as follows:
I started TaskIQ with the following command: Is there an issue with the way I'm using TaskIQ(I use redis-broker)? Or does TaskIQ not have this feature? Is there any way to implement this functionality myself? This is a crucial feature for us because our project involves a large number of long-running tasks, each of which may take several minutes to execute. sincerely thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Can you share what broker do you use? And how do you configure it? Different brokers works differently with acknowledgements. Some of them don't support them. |
Beta Was this translation helpful? Give feedback.
I found a problem with redis streams. Suddenly whem you fetch new messages from the stream, redis doesn't send unacknowledged messages along with new ones. Clients should fetch and claim them themselves.
I've updated the way we handle unacknowledged messages and released new version of taskiq-redis. https://github.com/taskiq-python/taskiq-redis/releases/tag/1.0.6 Please try it out.