Skip to content

Commit

Permalink
fix: aligns fifo queue delay behavior with aws sqs when DelaySeconds …
Browse files Browse the repository at this point in the history
…attribute is sent as 0 in the message (#1009)
  • Loading branch information
tmnsur authored Jun 13, 2024
1 parent f8580ec commit 338afcd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ trait SendMessageDirectives {
case Some(v) if v > 0 && queueData.isFifo =>
// FIFO queues don't support delays
throw SQSException.invalidQueueTypeParameter(DelaySecondsParameter)
case Some(v) if v == 0 && queueData.isFifo => None
case d => d
}

Expand Down

0 comments on commit 338afcd

Please sign in to comment.