From f158fe7ba1f42c00a0e8109a7f144ab9c73176fe Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Wed, 24 May 2023 19:08:17 -0700 Subject: [PATCH] Update log string for better output when multiple queues (#1925) --- rq/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/queue.py b/rq/queue.py index d415f84a..381e2cdf 100644 --- a/rq/queue.py +++ b/rq/queue.py @@ -1274,7 +1274,7 @@ class Queue: if timeout is not None: # blocking variant if timeout == 0: raise ValueError('RQ does not support indefinite timeouts. Please pick a timeout value > 0') - colored_queues = ''.join(map(str, [green(str(queue)) for queue in queue_keys])) + colored_queues = ', '.join(map(str, [green(str(queue)) for queue in queue_keys])) logger.debug(f"Starting BLPOP operation for queues {colored_queues} with timeout of {timeout}") result = connection.blpop(queue_keys, timeout) if result is None: