diff --git a/elasticsearch/connection_pool.py b/elasticsearch/connection_pool.py index dbe9a787..c28bb3cc 100644 --- a/elasticsearch/connection_pool.py +++ b/elasticsearch/connection_pool.py @@ -85,8 +85,8 @@ class ConnectionPool(object): 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 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 - succeedes will be marked as live (it's fail count will be deleted). + live pool. A connection that has been previously marked as dead and + succeeds will be marked as live (its fail count will be deleted). """ def __init__(self, connections, dead_timeout=60, timeout_cutoff=5, selector_class=RoundRobinSelector, randomize_hosts=True, **kwargs): diff --git a/elasticsearch/transport.py b/elasticsearch/transport.py index 9408ae42..012c5a3c 100644 --- a/elasticsearch/transport.py +++ b/elasticsearch/transport.py @@ -74,7 +74,7 @@ class Transport(object): will be serialized and passed as a query parameter `source`. 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. """