Commit 91d4d4a3 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Less clutter on the log

parent 746d763a
......@@ -9,6 +9,8 @@ channel = os.environ.get("CHANNEL", "xqueue")
queue = MQueue(channel, redis.Redis(host=host, port=port, db=0))
for since, msg in queue.listen():
print(f"{ since }: { msg }")
# We would normally process the messages here.
# However, to not overflow the log we skip this here.
# You can print the message, if you want.
# print(f"{ since }: { msg }")
print()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment