feat: 支持终断DB会话

This commit is contained in:
Bai
2021-07-28 16:08:05 +08:00
committed by 老广
parent c1e6bc5d60
commit bdf95903ce

View File

@@ -129,8 +129,6 @@ class Session(OrgModelMixin):
_PROTOCOL = self.PROTOCOL
if self.is_finished:
return False
if self.protocol in self.db_protocols:
return False
else:
return True