fix session close issue (#13946)

This commit is contained in:
Jyong 2025-02-18 19:29:57 +08:00 committed by GitHub
parent 562852a0ae
commit aa19bb3f30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -374,5 +374,3 @@ class RetrievalService:
except Exception as e:
db.session.rollback()
raise e
finally:
db.session.close()