increases timeout to 10 minutes by default

pull/1379/head
Prajjwal 6 months ago
parent 63926b8cfa
commit 0ba08857f4

@ -118,9 +118,9 @@ inputs:
description: "The profile name to use for the WarpBuild Docker Builders"
required: true
timeout:
description: "The timeout(in ms) to wait for the Docker Builders to be ready. By default, it is 5 minutes"
description: "The timeout(in ms) to wait for the Docker Builders to be ready. By default, it is 10 minutes"
required: false
default: "300000"
default: "600000"
outputs:
imageid:

@ -52,7 +52,7 @@ export class WarpBuildRemoteBuilders {
constructor(config: BuilderConfig) {
this.profileName = config.profileName;
this.apiKey = config.apiKey;
this.timeout = config.timeout || 200000; // Default timeout 200 seconds
this.timeout = config.timeout || 600000; // Default timeout 600 seconds
this.scriptStartTime = Date.now();
this.apiDomain = process.env.WARPBUILD_API_DOMAIN || 'https://api.warpbuild.com';
this.isWarpBuildRunner = this.determineRunnerType();

Loading…
Cancel
Save