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

Building caddy times out on slower devices #15

Closed
nenad opened this issue May 7, 2020 · 2 comments
Closed

Building caddy times out on slower devices #15

nenad opened this issue May 7, 2020 · 2 comments

Comments

@nenad
Copy link

nenad commented May 7, 2020

Hey Matt, thanks a lot for creating caddy. I started playing with it today on my RPi and encountered an issue when building caddy with CloudFlare DNS module. Namely, the RPi took a little bit longer when building the project and after 5 minutes it timeout out when it was fetching the deps and after I restarted the build it failed again after 5 minutes when building the project. I had to remove the timeout condition, rebuild xcaddy and then rerun it to finally get the modified caddy build.

I assume the timeout was added for CI builds but for development purposes it's really unexpected. I propose the timeout has a flag/option/env to be set and let the default behavior be without timing out. What do you think about this?

@mholt mholt closed this as completed in 1eaff74 May 7, 2020
@mholt
Copy link
Member

mholt commented May 7, 2020

@nenad Please try with 1eaff74 - timeouts are now disabled when using the CLI (but can still be configured as a library).

@nenad
Copy link
Author

nenad commented May 7, 2020

@mholt Wow, that was a super fast response. Thanks a ton, the commit fixes the issue!

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