[Zodb-checkins] CVS: ZODB3/ZODB - config.py:1.1.4.3
Jeremy Hylton
jeremy@zope.com
Thu, 2 Jan 2003 18:34:18 -0500
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv5283
Modified Files:
Tag: zconfig-schema-devel-branch
config.py
Log Message:
flesh out zeo constructor
=== ZODB3/ZODB/config.py 1.1.4.2 => 1.1.4.3 ===
--- ZODB3/ZODB/config.py:1.1.4.2 Thu Jan 2 18:30:40 2003
+++ ZODB3/ZODB/config.py Thu Jan 2 18:34:14 2003
@@ -69,8 +69,19 @@
def zeoclient(self, config):
from ZEO.ClientStorage import ClientStorage
+ # config.server is a multikey of socket-address values
+ # where the value is a socket family, address tuple.
L = [addr for family, addr in config.server]
return ClientStorage(L,
- wait=config.wait)
+ storage=config.storage,
+ cache_size=config.cache_size,
+ name=config.name,
+ client=config.client,
+ var=config.var,
+ min_disconnect_poll=config.min_disconnect_poll,
+ max_disconnect_poll=config.max_disconnect_poll,
+ wait=config.wait,
+ read_only=config.read_only,
+ read_only_fallback=config.read_only_fallback)
storageFromConfig = StorageOpener().fromConfig