[Zope-Checkins] CVS: ZODB3/ZEO - runsvr.py:1.25
Guido van Rossum
guido@python.org
Thu, 9 Jan 2003 15:06:43 -0500
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv10118
Modified Files:
runsvr.py
Log Message:
Set the defaults for some options even if they weren't loaded from the
schema.
=== ZODB3/ZEO/runsvr.py 1.24 => 1.25 ===
--- ZODB3/ZEO/runsvr.py:1.24 Thu Jan 9 13:53:30 2003
+++ ZODB3/ZEO/runsvr.py Thu Jan 9 15:06:41 2003
@@ -213,6 +213,12 @@
if self.args:
self.usage("positional arguments are not supported")
+ # Set defaults for some options
+ if self.read_only is None:
+ self.read_only = 0
+ if self.invalidation_queue_size is None:
+ self.invalidation_queue_size = 100
+
def load_configuration(self):
Options.load_configuration(self) # Sets self.rootconf
if not self.rootconf: