Fix some spelling errors in docstrings from 2015. (#571)
This commit is contained in:
committed by
Honza Král
parent
b803c2dd16
commit
5de989be07
@@ -85,8 +85,8 @@ class ConnectionPool(object):
|
|||||||
put on a timeout (if it fails N times in a row the timeout is exponentially
|
put on a timeout (if it fails N times in a row the timeout is exponentially
|
||||||
longer - the formula is `default_timeout * 2 ** (fail_count - 1)`). When
|
longer - the formula is `default_timeout * 2 ** (fail_count - 1)`). When
|
||||||
the timeout is over the connection will be resurrected and returned to the
|
the timeout is over the connection will be resurrected and returned to the
|
||||||
live pool. A connection that has been peviously marked as dead and
|
live pool. A connection that has been previously marked as dead and
|
||||||
succeedes will be marked as live (it's fail count will be deleted).
|
succeeds will be marked as live (its fail count will be deleted).
|
||||||
"""
|
"""
|
||||||
def __init__(self, connections, dead_timeout=60, timeout_cutoff=5,
|
def __init__(self, connections, dead_timeout=60, timeout_cutoff=5,
|
||||||
selector_class=RoundRobinSelector, randomize_hosts=True, **kwargs):
|
selector_class=RoundRobinSelector, randomize_hosts=True, **kwargs):
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class Transport(object):
|
|||||||
will be serialized and passed as a query parameter `source`.
|
will be serialized and passed as a query parameter `source`.
|
||||||
|
|
||||||
Any extra keyword arguments will be passed to the `connection_class`
|
Any extra keyword arguments will be passed to the `connection_class`
|
||||||
when creating and instance unless overriden by that connection's
|
when creating and instance unless overridden by that connection's
|
||||||
options provided as part of the hosts parameter.
|
options provided as part of the hosts parameter.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user