[Zope-Checkins] CVS: ZODB3/ZEO/zrpc - server.py:1.8.20.1
Jeremy Hylton
jeremy at zope.com
Wed Oct 1 13:46:01 EDT 2003
Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv15727/ZEO/zrpc
Modified Files:
Tag: Zope-2_7-branch
server.py
Log Message:
Remove clients local variable from Dispatcher.
It only served to keep Connection objects alive after they are closed.
Eliminates a major memory leak in the storage server.
=== ZODB3/ZEO/zrpc/server.py 1.8 => 1.8.20.1 ===
--- ZODB3/ZEO/zrpc/server.py:1.8 Thu Jan 9 16:50:19 2003
+++ ZODB3/ZEO/zrpc/server.py Wed Oct 1 13:45:59 2003
@@ -31,7 +31,6 @@
self.__super_init()
self.addr = addr
self.factory = factory
- self.clients = []
self._open_socket()
def _open_socket(self):
@@ -58,4 +57,3 @@
return
c = self.factory(sock, addr)
log("connect from %s: %s" % (repr(addr), c))
- self.clients.append(c)
More information about the Zope-Checkins
mailing list