Skip to content

Use requests.Session and urllib3.Retry support#115

Open
incontestableness wants to merge 2 commits intojuliomalegria:masterfrom
incontestableness:better-retries
Open

Use requests.Session and urllib3.Retry support#115
incontestableness wants to merge 2 commits intojuliomalegria:masterfrom
incontestableness:better-retries

Conversation

@incontestableness
Copy link
Copy Markdown

@incontestableness incontestableness commented Jul 27, 2022

Using requests.Session() allows for keep-alive connections and prevents repeated DNS queries that can cause some caching resolvers to fail transiently. Using urllib3.Retry allows for better, more dynamic handling of request retries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant