Commit eda1bb08 authored by Jim Fulton's avatar Jim Fulton

Several old configuration options are ignored.

We'll eventially deprecate the old zeo configuration, as it's
implemented in the wrong package. :) A new implementation will provide
poll-interval, however, there's not much point in configuring that.
parent 73c35ff8
...@@ -208,6 +208,7 @@ class ClientStorage(object): ...@@ -208,6 +208,7 @@ class ClientStorage(object):
) )
self._is_read_only = read_only self._is_read_only = read_only
self._read_only_fallback = read_only_fallback
self._addr = addr # For tests self._addr = addr # For tests
......
...@@ -26,16 +26,10 @@ The simplest client configuration specified a server address: ...@@ -26,16 +26,10 @@ The simplest client configuration specified a server address:
>>> storage._cache.maxsize >>> storage._cache.maxsize
20971520 20971520
>>> storage._cache.path >>> storage._cache.path
>>> storage._rpc_mgr.tmin
5
>>> storage._rpc_mgr.tmax
300
>>> storage._is_read_only >>> storage._is_read_only
False False
>>> storage._read_only_fallback >>> storage._read_only_fallback
False False
>>> storage._drop_cache_rather_verify
False
>>> storage._blob_cache_size >>> storage._blob_cache_size
>>> storage.close() >>> storage.close()
...@@ -48,8 +42,6 @@ The simplest client configuration specified a server address: ...@@ -48,8 +42,6 @@ The simplest client configuration specified a server address:
... cache-size 100 ... cache-size 100
... name bob ... name bob
... client cache ... client cache
... min-disconnect-poll 1
... max-disconnect-poll 5
... read-only true ... read-only true
... drop-cache-rather-verify true ... drop-cache-rather-verify true
... blob-cache-size 1000MB ... blob-cache-size 1000MB
...@@ -72,16 +64,10 @@ The simplest client configuration specified a server address: ...@@ -72,16 +64,10 @@ The simplest client configuration specified a server address:
>>> storage._cache.path == os.path.abspath('cache-2.zec') >>> storage._cache.path == os.path.abspath('cache-2.zec')
True True
>>> storage._rpc_mgr.tmin
1
>>> storage._rpc_mgr.tmax
5
>>> storage._is_read_only >>> storage._is_read_only
True True
>>> storage._read_only_fallback >>> storage._read_only_fallback
False False
>>> storage._drop_cache_rather_verify
True
>>> storage._blob_cache_size >>> storage._blob_cache_size
1048576000 1048576000
......
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