Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/lib/onboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ function hydrateCredentialEnv(envName) {
}

function getCurlTimingArgs() {
return ["--connect-timeout 5", "--max-time 20"];
return ["--connect-timeout 10", "--max-time 60"];
}

function buildProviderArgs(action, name, type, credentialEnv, baseUrl) {
Expand Down
4 changes: 2 additions & 2 deletions test/credential-exposure.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe("credential exposure in process arguments", () => {
const src = fs.readFileSync(ONBOARD_JS, "utf-8");

expect(src).toMatch(/function getCurlTimingArgs\(\)/);
expect(src).toMatch(/--connect-timeout 5/);
expect(src).toMatch(/--max-time 20/);
expect(src).toMatch(/--connect-timeout 10/);
expect(src).toMatch(/--max-time 60/);
});
});
Loading