We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c33ec6c commit b2822d2Copy full SHA for b2822d2
packages/@aws-cdk/toolkit-lib/lib/util/network-detector.ts
@@ -46,7 +46,7 @@ export class NetworkDetector {
46
}
47
48
49
- // private static readonly TIMEOUT_MS = 500;
+ private static readonly TIMEOUT_MS = 500;
50
private static readonly URL = 'https://cli.cdk.dev-tools.aws.dev/notices.json';
51
52
private static async load(): Promise<CachedConnectivity> {
@@ -77,7 +77,7 @@ export class NetworkDetector {
77
const options: RequestOptions = {
78
// method: 'HEAD',
79
agent: agent,
80
- // timeout: this.TIMEOUT_MS,
+ timeout: this.TIMEOUT_MS,
81
};
82
83
return new Promise((resolve) => {
0 commit comments