[Zodb-checkins] CVS: ZODB3/Tools - zeoup.py:1.7
Guido van Rossum
guido@python.org
Fri, 4 Oct 2002 14:54:29 -0400
Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv26098
Modified Files:
zeoup.py
Log Message:
When using ZEO 2, connect to the storage in read-only mode.
Otherwise, this will just hang trying to connect to a read-only
storage.
Also get rid of the debug=1 argument (it's not used with ZEO 2).
=== ZODB3/Tools/zeoup.py 1.6 => 1.7 ===
--- ZODB3/Tools/zeoup.py:1.6 Mon Aug 26 12:10:43 2002
+++ ZODB3/Tools/zeoup.py Fri Oct 4 14:54:29 2002
@@ -36,7 +36,7 @@
def check_server(addr, storage, write):
if ZEO_VERSION == 2:
- cs = ClientStorage(addr, storage=storage, debug=1, wait=1)
+ cs = ClientStorage(addr, storage=storage, wait=1, read_only=1)
else:
cs = ClientStorage(addr, storage=storage, debug=1,
wait_for_server_on_startup=1)