Skip to content

Commit

Permalink
Increase CF_Dial_timeout to 30
Browse files Browse the repository at this point in the history
The default 5 second timeout http://cli.cloudfoundry.org/en-US/cf/ causes the CF resource to timeout to pivotal web service from a concourse worker on AWS in us-east-1. This PR will bump up the default a bit.
  • Loading branch information
DaxterM authored Sep 8, 2017
1 parent c6930ff commit 1248e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion out/cloud_foundry.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ func (cf *CloudFoundry) cf(args ...string) *exec.Cmd {
cmd.Stdout = os.Stderr
cmd.Stderr = os.Stderr
cmd.Env = append(os.Environ(), "CF_COLOR=true")

cmd.Env = append(os.Environ(), "CF_DIAL_TIMEOUT=30")
return cmd
}

0 comments on commit 1248e06

Please sign in to comment.