Skip to content

Commit

Permalink
PI-2032 Reduce default SQS publish concurrency to 75 (#3537)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Britton <[email protected]>
  • Loading branch information
marcus-bcl and anthony-britton-moj authored Mar 25, 2024
1 parent 87ad4f6 commit a903476
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class QueuePublisher(
private val sqsTemplate: SqsTemplate,
private val objectMapper: ObjectMapper,
@Value("\${messaging.producer.queue}") private val queue: String,
@Value("\${messaging.producer.concurrency:100}") private val limit: Int
@Value("\${messaging.producer.concurrency:75}") private val limit: Int
) : NotificationPublisher {

private val permit = Semaphore(limit)
Expand Down

0 comments on commit a903476

Please sign in to comment.