Skip to content

Commit

Permalink
Removed unnecessary logging in worker
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellAV committed Feb 27, 2025
1 parent 87ce106 commit 40a1801
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions workers/src/submission_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,12 +694,9 @@ def main():
logger.info("Listening for messages...")
# infinite loop to listen and process messages
while not is_finished:
print("Polling for messages...")
messages = queue.receive_messages(
MaxNumberOfMessages=1, VisibilityTimeout=43200
)
print(f"Received {len(messages)} messages")

for message in messages:
logger.info(f"Received message: {message.body}")

Expand Down

0 comments on commit 40a1801

Please sign in to comment.