Skip to content
Myr

Merge pull request #2308 from kevinburke/read-timeout-retry

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Note about read timeout errors and max_retries

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 45ef1f8, a703e24 · Browse files · 1 file+4 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−2 removed

  • other:+4 added−2 removed

1 file+4 added−2 removed

modified:requests/adapters.py+4 added-2 removed
58 unmodified lines
5960 :param pool_connections: The number of urllib3 connection pools to cache.61 :param pool_maxsize: The maximum number of connections to save in the pool.62 :param int max_retries: The maximum number of retries each connection63 should attempt. Note, this applies only to failed connections and64 timeouts, never to requests where the server returns a response.63 should attempt. Note, this applies only to failed DNS lookups, socket64 connections and connection timeouts, never to requests where data has65 made it to the server. By default, Requests does not retry failed66 connections.67 :param pool_block: Whether the connection pool should block for connections.6869 Usage::70
358 unmodified lines