Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(exports): tasks stuck in processing TASK-1243 #5436

Merged
merged 11 commits into from
Jan 28, 2025
Prev Previous commit
Next Next commit
fixup!: format i swear to god
  • Loading branch information
rgraber committed Jan 21, 2025
commit a0e022c73f633002e1b946f1cef80f72b2aee8ab
1 change: 1 addition & 0 deletions kpi/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def _get_task_with_retry(model_class: type, uid: str):
time.sleep(SLEEP_TIME)
raise model_class.DoesNotExist


@celery_app.task
def import_in_background(import_task_uid):
import_task = _get_task_with_retry(ImportTask, import_task_uid)
Expand Down
Loading