pulibrary / bibdata

Local API for retrieving bibliographic and other useful data from Alma (Ruby 3.2.0, Rails 7.1.3.4)
BSD 2-Clause "Simplified" License
16 stars 7 forks source link

AWS SQS queue - Reduce the maxReceiveCount to 100 #2463

Closed christinach closed 2 months ago

christinach commented 2 months ago

Helps with https://github.com/pulibrary/bibdata/issues/2462

Helps with https://github.com/pulibrary/bibdata/issues/2462 Reduce the maxReceiveCount to 100. So that the duplicate message from the aws sqs rake task timeout is requeued only for the next 60 mins It's a workaround to avoid messages piling up in the AWSBiBProduction.fifo queue for 8-9 hours because of the 1000 requeueing.