forked from CGM_Public/pretix_original
Revert 36d6b6f9, pass language to async tasks
This commit is contained in:
@@ -19,7 +19,6 @@ from pretix.celery_app import app
|
||||
|
||||
|
||||
class ProfiledTask(app.Task):
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
|
||||
if settings.PROFILING_RATE > 0 and random.random() < settings.PROFILING_RATE / 100:
|
||||
|
||||
Reference in New Issue
Block a user