Brian Pandola 7c44e48670
Fix: SQS fails to get newly-visible messages when long polling (#5733)
The [original commit to remove the `sleep` call][1], only considered newly-arriving
messages; but didn't take into account that existing messages could become visible
in a much shorter time duration than the wait timeout.  This commit addresses this
by checking for newly-visible messages at the visibility timeout granularity (seconds),
which is still a major improvement over the original 10 millisecond polling.

[1]: <d560ff002d> "Remove Sleep Call"
2022-12-04 18:00:56 -08:00
..
2022-11-28 12:22:48 -01:00
2022-10-23 11:23:23 +00:00
2022-08-13 09:49:43 +00:00
2022-08-13 09:49:43 +00:00
2022-08-13 09:49:43 +00:00
2022-08-13 09:49:43 +00:00
2022-04-27 11:58:59 +00:00
2022-08-13 09:49:43 +00:00
2022-08-13 09:49:43 +00:00
2022-04-27 11:58:59 +00:00
2022-11-30 20:09:37 -01:00
2022-08-13 09:49:43 +00:00