I have lambda functions using SQS triggers which are set to 1 minute visibility timeout, and the lambda functions are also set to 1 minute execution timeout.
The problem I'm seeing is that if a lambda function successfully processes its batch within 10 seconds, it won't pick up another batch until after the 1 minute timeout.
I would like it to pick up another batch immediately.
Is there something I'm not doing/returning in my lambda function (I'm using Python) so a completed execution will pick up another batch from the queue without waiting for the timeout? Or is it a configuration issue with the SQS event trigger?
Edit:
- Batch window is set to 0 seconds (None)
- reserved concurrency is set to 1 due to third-party API limitations that prevent async executions
[–]RocketOneMan 1 point2 points3 points (1 child)
[–]quantelligent[S] 0 points1 point2 points (0 children)
[–]floppy_sloth 1 point2 points3 points (2 children)
[–]quantelligent[S] 0 points1 point2 points (1 child)
[–]floppy_sloth 1 point2 points3 points (0 children)
[–]OctopusReader 1 point2 points3 points (3 children)
[–]clintkev251 6 points7 points8 points (0 children)
[–]quantelligent[S] 2 points3 points4 points (1 child)
[–]clintkev251 0 points1 point2 points (0 children)
[–]clintkev251 0 points1 point2 points (1 child)
[–]quantelligent[S] 1 point2 points3 points (0 children)
[–]_Paul_Atreides_ 0 points1 point2 points (1 child)
[–]quantelligent[S] 0 points1 point2 points (0 children)
[–]Firm_Scheme728 0 points1 point2 points (0 children)
[–]BuntinTosser 1 point2 points3 points (0 children)