sqs settings modified 2

This commit is contained in:
Ubuntu 2024-05-01 05:22:33 +00:00
parent 6b8db9f2e6
commit 62bf265236
1 changed files with 2 additions and 2 deletions

View File

@ -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: