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

Add timeout to ssh connections #65

Merged
merged 1 commit into from
Jul 13, 2013
Merged

Add timeout to ssh connections #65

merged 1 commit into from
Jul 13, 2013

Conversation

rkhatibi
Copy link

...ny other remote connection issues) from blocking the Puppet run. I hardcoded it to 120 seconds which seems reasonable and should be well outside any 30 second DNS timeout pause users might see on a poorly configured system.

…r any other remote connection issues) from blocking the Puppet run
@sodabrew
Copy link

👍 SSH uses the system default TCP timeout unless this is specified, and that's often quite a few minutes.

@rkhatibi
Copy link
Author

The overall problem is worst that that. Setting a time to connect only solves part of it. It's still possible for Puppet to hang for hours (yes hours) waiting for git to do something.

@sodabrew
Copy link

Could you rebase your commit to current master? I'd like to see tests run.

sodabrew added a commit that referenced this pull request Jul 13, 2013
Add timeout to ssh connections
@sodabrew sodabrew merged commit 4277a3e into puppetlabs:master Jul 13, 2013
@sodabrew
Copy link

On second thought, this is fine. Merging!

cegeka-jenkins pushed a commit to cegeka/puppet-vcsrepo that referenced this pull request Jan 3, 2018
bastelfreak added a commit to bastelfreak/puppetlabs-vcsrepo that referenced this pull request Apr 23, 2021
modulesync 3.0.0 & puppet-lint updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants