deal db session in celery worker (#17549)

This commit is contained in:
Jyong
2025-04-07 20:31:26 +08:00
committed by GitHub
parent da7f8ad936
commit c8145ce581
26 changed files with 104 additions and 25 deletions

View File

@@ -121,3 +121,5 @@ def clean_dataset_task(
)
except Exception:
logging.exception("Cleaned dataset when dataset deleted failed")
finally:
db.session.close()