Commit 4608a6ef by Bach Dániel

fix flake8 warnings

parent 5ea57598
......@@ -11,7 +11,7 @@ celery = Celery('netdriver', backend='amqp',
include=['netdriver'])
celery.conf.update(
CELERY_TASK_RESULT_EXPIRES = 300,
CELERY_TASK_RESULT_EXPIRES=300,
CELERY_QUEUES=(
Queue(HOSTNAME + '.net', Exchange(
'netdriver', type='direct'), routing_key='netdriver'),
......
......@@ -16,12 +16,12 @@ celery = Celery('vmcelery', backend='amqp',
include=['vmdriver'])
celery.conf.update(
CELERY_TASK_RESULT_EXPIRES = 300,
CELERY_TASK_RESULT_EXPIRES=300,
CELERY_QUEUES=(
Queue(HOSTNAME + '.vm', Exchange(
'vmdriver', type='direct'), routing_key="vmdriver"),
# Queue(HOSTNAME + '.monitor', Exchange(
# 'monitor', type='direct'), routing_key="monitor"),
# Queue(HOSTNAME + '.monitor', Exchange(
# 'monitor', type='direct'), routing_key="monitor"),
)
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment