mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
* feat(sqs): expire messages after MessageRetentionPeriod ReceiveMessage, GetQueueAttributes counts, the inspection endpoint and StartMessageMoveTask skip messages older than the queue's retention period. A sweeper frees expired messages every 60 seconds. As on AWS, a standard DLQ keeps the original enqueue time, while a FIFO DLQ and StartMessageMoveTask start the retention period over. SentTimestamp is kept in all cases. * fix(sqs): drop messages that expire during a rate-limited move task * test(sqs): cover a failing retention sweep * test(sqs): make the rate-limited move task expiry test deterministic * test(sqs): assert the expiring message is live when the move task starts * fix(sqs): reject MessageRetentionPeriod outside 60 to 1209600 seconds