Skip to content

Commit

Permalink
Set OPEN_TIMEOUT_IN_SECONDS
Browse files Browse the repository at this point in the history
`dependabot-core` relies upon this value to give customers that need
more time in establishing connections. This value will be absorbed by
`dependabot-updater` and passed along.

Defaulting to a value of 10 as that's what we used in our connectivity
check. That value was sufficient for users which such concerns in the
past.
  • Loading branch information
Landon Grindheim committed Apr 6, 2022
1 parent b3236d1 commit c6c9e34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/updater-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export class UpdaterBuilder {
`HTTP_PROXY=${this.proxy.url}`,
`https_proxy=${this.proxy.url}`,
`HTTPS_PROXY=${this.proxy.url}`,
`ENABLE_CONNECTIVITY_CHECK=1`
`ENABLE_CONNECTIVITY_CHECK=1`,
`OPEN_TIMEOUT_IN_SECONDS=10`
],
Cmd: ['sh', '-c', cmd],
HostConfig: {
Expand Down

0 comments on commit c6c9e34

Please sign in to comment.