mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 14:45:58 +08:00
fix session close issue (#13946)
This commit is contained in:
parent
562852a0ae
commit
aa19bb3f30
@ -374,5 +374,3 @@ class RetrievalService:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
db.session.rollback()
|
db.session.rollback()
|
||||||
raise e
|
raise e
|
||||||
finally:
|
|
||||||
db.session.close()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user