[Pulp-list] Remote timeout defaults

Grant Gainey ggainey at redhat.com
Fri Mar 26 20:16:21 UTC 2021


On Fri, Mar 26, 2021 at 4:01 PM Justin Sherrill <jsherril at redhat.com> wrote:

> Hello!
>
> I had some questions for the timeout options here:
>
> https://docs.pulpproject.org/pulp_rpm/restapi.html#operation/remotes_rpm_rpm_create
> \
>
> 1.  Do the default values come from
> https://docs.aiohttp.org/en/stable/client_reference.html  or are they
> set in pulp (and if so what are they?)
>

Pulp defers to aiohttp - see
https://github.com/pulp/pulpcore/pull/1026#discussion_r533710092 for the
discussion on that.

2.  Two of those aiohttp settings look deprecated (read_timeout &
> conn_timeout), but are exposed in pulp, is that intentional ?
>

It is intentional, in that they were in the original issue, and I didn't
notice they were deprecated when writing the code, alas :(

G
-- 
Grant Gainey
Principal Software Engineer, Red Hat System Management Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20210326/dfc374eb/attachment.htm>


More information about the Pulp-list mailing list