Upgrade to Celery 4

This commit is contained in:
Raphael Michel
2016-12-08 13:20:27 +01:00
parent 89732a3057
commit b6e42d64da
9 changed files with 24 additions and 68 deletions

View File

@@ -19,7 +19,6 @@ from pretix.celery import app
class ProfiledTask(app.Task):
abstract = True
def __call__(self, *args, **kwargs):
@@ -43,7 +42,6 @@ class TransactionAwareTask(ProfiledTask):
Task class which is aware of django db transactions and only executes tasks
after transaction has been committed
"""
abstract = True
def apply_async(self, *args, **kwargs):
"""