Split send_email task into one task to create the notification and one to send it to the provider.

Is there is an exception the task will go to the retry queue.
This commit is contained in:
Rebecca Law
2016-07-01 14:14:28 +01:00
parent 5e0033e36d
commit f52755742c
5 changed files with 274 additions and 335 deletions

View File

@@ -1,7 +1,6 @@
import uuid
import os
import statsd
from flask import request, url_for, g
from flask import Flask, _request_ctx_stack
from flask.ext.sqlalchemy import SQLAlchemy