mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
When ReceiveMessage does not specify a VisibilityTimeout parameter, doReceiveMessage falls back to the global default (30s) instead of the queue's own VisibilityTimeout attribute. This causes messages to stay invisible far longer than expected, which in turn breaks DLQ redrive for queues configured with a short visibility timeout — the message never becomes visible within a reasonable window for the receive-count check to trigger. Read the queue's VisibilityTimeout attribute as the intermediate fallback before using the global default.