mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-04 01:58:12 +08:00
Tests now run with logging level DEBUG
This commit is contained in:
+1
-1
@@ -313,7 +313,7 @@ def pusher(task_queue, e, list_key=Conf.Q_LIST, r=redis_client):
|
|||||||
if task:
|
if task:
|
||||||
task = task[1]
|
task = task[1]
|
||||||
task_queue.put(task)
|
task_queue.put(task)
|
||||||
logger.debug(_('queueing {}').format(task))
|
logger.debug(_('queueing from {}').format(list_key))
|
||||||
if e.is_set():
|
if e.is_set():
|
||||||
break
|
break
|
||||||
logger.info(_("{} stopped pushing tasks").format(current_process().name))
|
logger.info(_("{} stopped pushing tasks").format(current_process().name))
|
||||||
|
|||||||
@@ -104,4 +104,5 @@ STATIC_URL = '/static/'
|
|||||||
# Django Q specific
|
# Django Q specific
|
||||||
Q_CLUSTER = {'name': 'django_q_test',
|
Q_CLUSTER = {'name': 'django_q_test',
|
||||||
'cpu_affinity': 1,
|
'cpu_affinity': 1,
|
||||||
'testing': True}
|
'testing': True,
|
||||||
|
'log_level': 'DEBUG'}
|
||||||
|
|||||||
Reference in New Issue
Block a user