Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying a read timeout on the Pinto HTTP user agent #234

Open
fgabolde opened this issue Feb 17, 2017 · 1 comment
Open

Allow specifying a read timeout on the Pinto HTTP user agent #234

fgabolde opened this issue Feb 17, 2017 · 1 comment

Comments

@fgabolde
Copy link

We have a large-ish Pinto set up, large enough that this:

pinto pull --dry-run -v Some::Module==0.123

ends up timing out after 3 minutes with

read timeout at /home/fgabolde/opt/local/pinto/lib/perl5/Net/HTTP/Methods.pm line 259.

It looks like that's the default timeout on LWP::UserAgent which Pinto::Remote::* uses behind the scenes.

Would it be possible to make this value configurable?

@thaljef
Copy link
Owner

thaljef commented Mar 7, 2017

I'll add an environment variable for it.

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

No branches or pull requests

2 participants