Skip to content

Commit

Permalink
Merge branch 'release/1.5.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud Samy committed Mar 29, 2021
2 parents 98549b2 + beb4e6a commit b5a105a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer/sqs.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (client *SqsClient) TerminateVisibilityTimeoutBatchWithContext(ctx context.
params.Entries = append(params.Entries, &sqs.ChangeMessageVisibilityBatchRequestEntry{
Id: message.MessageId,
ReceiptHandle: message.ReceiptHandle,
VisibilityTimeout: aws.Int64(0),
VisibilityTimeout: aws.Int64(client.terminateVisibilityTimeout),
})
}

Expand Down

0 comments on commit b5a105a

Please sign in to comment.