refactor: Add print statements to debug message processing in app.py

This commit is contained in:
Simon Larsen 2024-06-23 18:13:39 +00:00
parent 6737d97f30
commit f36609712b

View File

@ -19,6 +19,8 @@ def job():
random_id = queue.pop(0)
print(f"Processing item {random_id}")
messages = items_pending[random_id]
print(f"Messages:")
print(messages)
outputs = pipe(messages)
items_processed[random_id] = outputs
del items_pending[random_id]