Move Queuenames in with the celery code, revamp config to allow move to celery 4.x

This commit is contained in:
Martyn Inglis
2017-06-09 12:24:54 +01:00
committed by Leo Hemsted
parent e0106eb1be
commit 786adb5d71
18 changed files with 52 additions and 60 deletions

View File

@@ -1,6 +1,6 @@
from flask import current_app
from app.config import QueueNames
from app.celery import QueueNames
from app.dao.services_dao import dao_fetch_service_by_id, dao_fetch_active_users_for_service
from app.dao.templates_dao import dao_get_template_by_id
from app.models import EMAIL_TYPE, KEY_TYPE_NORMAL