Skip to content

Commit

Permalink
Reduce MaxNumberOfMessage to 10 (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: Till Kuhn <till.kuhn@dbschenker.com>
  • Loading branch information
tillkuhn and tillkuhn committed Sep 22, 2020
1 parent 5e42f5e commit 710f222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/example-worker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func main() {
sqsClient := worker.CreateSqsClient(awsConfig)
workerConfig := &worker.Config{
QueueName: "my-sqs-queue",
MaxNumberOfMessage: 15,
MaxNumberOfMessage: 10,
WaitTimeSecond: 5,
}
eventWorker := worker.New(sqsClient, workerConfig)
Expand Down

0 comments on commit 710f222

Please sign in to comment.