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

@@ -12,7 +12,7 @@ from app import redis_store
from app.celery import provider_tasks
from notifications_utils.clients import redis
from app.config import QueueNames
from app.celery import QueueNames
from app.models import SMS_TYPE, Notification, KEY_TYPE_TEST, EMAIL_TYPE, ScheduledNotification
from app.dao.notifications_dao import (dao_create_notification,
dao_delete_notifications_and_history_by_id,