mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
Only in-flight messages (claimed, within their visibility timeout) lock a FIFO message group. claimFifo() used !isVisible() as the lock predicate, which also matches messages still waiting out DelaySeconds, so a newly sent delayed message made already-visible messages in its group unreceivable. Require a receipt handle as well, the same delayed-vs-in-flight discriminator messageCounts() already uses. Fixes #2104