mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
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