diff --git a/pkg/monitor/sqsevent/sqs-monitor.go b/pkg/monitor/sqsevent/sqs-monitor.go index 6f1b66df..135380b8 100644 --- a/pkg/monitor/sqsevent/sqs-monitor.go +++ b/pkg/monitor/sqsevent/sqs-monitor.go @@ -155,7 +155,7 @@ func (m SQSMonitor) receiveQueueMessages(qURL string) ([]*sqs.Message, error) { QueueUrl: &qURL, MaxNumberOfMessages: aws.Int64(5), VisibilityTimeout: aws.Int64(20), // 20 seconds - WaitTimeSeconds: aws.Int64(0), + WaitTimeSeconds: aws.Int64(20), // Max long polling }) if err != nil {