Skip to content

Commit 6a22485

Browse files
authored
up sqs max messages and lower wait time and visibility timeout on messages (#496)
* up sqs max messages and lower wait time and visibility timeout on messages * waittime back to 20 sec * revert visibility timeout
1 parent a7d4a75 commit 6a22485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/monitor/sqsevent/sqs-monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (m SQSMonitor) receiveQueueMessages(qURL string) ([]*sqs.Message, error) {
154154
aws.String(sqs.QueueAttributeNameAll),
155155
},
156156
QueueUrl: &qURL,
157-
MaxNumberOfMessages: aws.Int64(5),
157+
MaxNumberOfMessages: aws.Int64(10),
158158
VisibilityTimeout: aws.Int64(20), // 20 seconds
159159
WaitTimeSeconds: aws.Int64(20), // Max long polling
160160
})

0 commit comments

Comments
 (0)