arXiv/arxiv-base

Retry behavior should be configurable in arxiv.integration.api.service

erickpeirson opened this issue · 1 comments

Currently the retry behavior for HTTP requests is hard-coded in the HTTPIntegration constructor:

self._retry = Retry(
total=10,
read=10,
connect=10,
status=10,
backoff_factor=0.5
)

The only way to use a different config is to extend/overwrite the constructor, which is a bit of a pain.

bdc34 commented

Moving away from using arxiv-base arxiv.integration