From 62bf2652364e94f0a01e1d5c90cfe9276d89026d Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 1 May 2024 05:22:33 +0000 Subject: [PATCH] sqs settings modified 2 --- .../conversion/management/commands/custom_runserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitchen_counter/conversion/management/commands/custom_runserver.py b/kitchen_counter/conversion/management/commands/custom_runserver.py index f5cae9d..064764c 100755 --- a/kitchen_counter/conversion/management/commands/custom_runserver.py +++ b/kitchen_counter/conversion/management/commands/custom_runserver.py @@ -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: