sqs settings modified 2
This commit is contained in:
parent
6b8db9f2e6
commit
62bf265236
|
@ -179,8 +179,8 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
messages = queue.receive_messages(
|
messages = queue.receive_messages(
|
||||||
MessageAttributeNames=["All"],
|
MessageAttributeNames=["All"],
|
||||||
MaxNumberOfMessages=5,
|
MaxNumberOfMessages=1,
|
||||||
WaitTimeSeconds=10,
|
WaitTimeSeconds=5,
|
||||||
)
|
)
|
||||||
if len(messages) > 0:
|
if len(messages) > 0:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue