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