Commit d7a5aa5f authored by Guido van Rossum's avatar Guido van Rossum

Set the defaults for some options even if they weren't loaded from the

schema.
parent 0e5dee20
......@@ -213,6 +213,12 @@ class ZEOOptions(Options):
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment