mirror of https://github.com/rq/rq.git
Update log string for better output when multiple queues (#1925)
This commit is contained in:
parent
47b384d412
commit
f158fe7ba1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue