Commit 273eeefc authored by Vincent Pelletier's avatar Vincent Pelletier

Do not close other thread's conections since the same db instance is shared among multiple threads.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13672 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fbbe155a
......@@ -219,8 +219,6 @@ class DB(TM):
ident = get_ident()
db = self.db.get(ident)
if db is None:
if len(self.db) != 0:
self.cleanupConnections()
db = self.forceReconnection()
return db
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment