mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-21 04:58:12 +08:00
neater monitor text
This commit is contained in:
+1
-1
@@ -248,7 +248,7 @@ def pusher(task_queue, e, list_key=Q_LIST):
|
||||
|
||||
def monitor(done_queue):
|
||||
name = current_process().name
|
||||
logger.info("{} monitoring results at {}".format(name, current_process().pid))
|
||||
logger.info("{} monitoring at {}".format(name, current_process().pid))
|
||||
for task in iter(done_queue.get, 'STOP'):
|
||||
if task['success']:
|
||||
logger.info("Processed [{}]".format(task['name']))
|
||||
|
||||
Reference in New Issue
Block a user