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