Skip to content

Commit

Permalink
Merge pull request #20 from Koed00/dev
Browse files Browse the repository at this point in the history
Tests now run with logging level debug
  • Loading branch information
Koed00 committed Jul 17, 2015
2 parents 688d25c + b876b1e commit 05c8f3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_q/cluster.py
Expand Up @@ -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))
Expand Down
3 changes: 2 additions & 1 deletion django_q/tests/settings.py
Expand Up @@ -104,4 +104,5 @@
# Django Q specific
Q_CLUSTER = {'name': 'django_q_test',
'cpu_affinity': 1,
'testing': True}
'testing': True,
'log_level': 'DEBUG'}

0 comments on commit 05c8f3b

Please sign in to comment.