@@ -51,7 +51,7 @@ def cluster_pool_from_config(
51
51
* ``nodemanager_follow_cluster``: Tell the node manager to reuse the last set of
52
52
nodes it was operating on when intializing.
53
53
* ``read_from_replicas``: (Boolean) Whether the client should send all read queries to
54
- replicas instead of the primary
54
+ replicas instead of just the primary
55
55
* ``timeout``: how long to wait for sockets to connect. e.g.
56
56
``200 milliseconds`` (:py:func:`~baseplate.lib.config.Timespan`)
57
57
"""
@@ -62,8 +62,8 @@ def cluster_pool_from_config(
62
62
{
63
63
"url" : config .String ,
64
64
"max_connections" : config .Optional (config .Integer , default = 50 ),
65
- "timeout" : config .Optional (config .Timespan , default = 100 ),
66
- "read_from_replicas" : config .Optional (config .Boolean , default = False ),
65
+ "timeout" : config .Optional (config .Timespan , default = None ),
66
+ "read_from_replicas" : config .Optional (config .Boolean , default = True ),
67
67
"skip_full_coverage_check" : config .Optional (config .Boolean , default = True ),
68
68
"nodemanager_follow_cluster" : config .Optional (config .Boolean , default = None ),
69
69
"decode_responses" : config .Optional (config .Boolean , default = True ),
0 commit comments