[Zodb-checkins] CVS: StandaloneZODB/ZEO - ClientStorage.py:1.26.4.27

Jeremy Hylton jeremy@zope.com
Fri, 4 Jan 2002 18:05:18 -0500


Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv24692

Modified Files:
      Tag: ZEO-ZRPC-Dev
	ClientStorage.py 
Log Message:
No need for wait_for_server_on_startup to be an instance variable.

It's irrelevant after the constructor returns.



=== StandaloneZODB/ZEO/ClientStorage.py 1.26.4.26 => 1.26.4.27 ===
         self._storage = storage
         self._debug = debug
-        self._wait_for_server_on_startup = wait_for_server_on_startup
 
         self._info = {'length': 0, 'size': 0, 'name': 'ZEO Client',
                       'supportsUndo':0, 'supportsVersions': 0}
@@ -177,7 +176,7 @@
                                                 tmax=max_disconnect_poll)
         self._server = None
         if wait_for_server_on_startup:
-            self._rpc_mgr.connect(1)
+            self._rpc_mgr.connect(sync=1)
         else:
             if not self._rpc_mgr.attempt_connect():
                 self._rpc_mgr.connect()