Commit fc3c5e87 authored by Aurel's avatar Aurel

give tid parameter to invalidate


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@168 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 39a38241
......@@ -390,7 +390,7 @@ class ClientEventHandler(EventHandler):
else:
self.handleUnexpectedPacket(conn, packet)
def handleInvalidateObjects(self, conn, packet, oid_list):
def handleInvalidateObjects(self, conn, packet, oid_list, tid):
if isinstance(conn, MTClientConnection):
app = self.app
app._cache_lock_acquire()
......@@ -402,7 +402,7 @@ class ClientEventHandler(EventHandler):
if app.mq_cache.has_key(oid):
del app.mq_cache[oid]
if app._db is not None:
app._db.invalidate(None, oids)
app._db.invalidate(tid, oids)
finally:
app._cache_lock_release()
else:
......
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