taskq
taskq copied to clipboard
message receive delay when using SQS
We're using taskq with SQS. We're seeing a pretty consistent delays of around 3000ms between when messages are adding to the queue and when the consumer receives the messages. This happens with real SQS queues and localstack simulated queues. There are no extra delays configured anywhere as far as I can tell. I suspect there's an issue somewhere in the autotune or the way the polling timers are set up. It would be helpful if there was some documentation about how the polling works what the various hard-coded values are for in the autotune and timer functions.
Checking in to see if there's any update here. Is anyone else seeing a message delay when using taskq with SQS?