Skip to content

Commit

Permalink
Remove duplicate send
Browse files Browse the repository at this point in the history
  • Loading branch information
gpopides committed Jan 4, 2025
1 parent d9d0c41 commit 31334f6
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ internal class SqsPoller(private val sqs: SqsClient) {
acknowledgeChannels[consumerIndex]
?.channel
?.send(ToBeAcknowledged(consumer.queueUri, message))
acknowledgeChannels[consumerIndex]
?.channel
?.send(ToBeAcknowledged(consumer.queueUri, message))
} else {
val error = ConsumptionError.UnsuccessfulConsumption(message)
consumer.onError(error)
Expand Down

0 comments on commit 31334f6

Please sign in to comment.