Skip to content
Merged
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
3 changes: 3 additions & 0 deletions .github/spot-runner-action/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ class Ec2Instance {
this.client = new aws_sdk_1.default.EC2({
credentials: this.credentials,
region: this.config.awsRegion,
maxRetries: 3,
// base 10 seconds for the exponential backoff, up to 3 times
retryDelayOptions: { base: 10000 },
});
this.tags = this.getTags();
}
Expand Down
3 changes: 3 additions & 0 deletions .github/spot-runner-action/src/ec2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export class Ec2Instance {
this.client = new AWS.EC2({
credentials: this.credentials,
region: this.config.awsRegion,
maxRetries: 3,
// base 10 seconds for the exponential backoff, up to 3 times
retryDelayOptions: { base: 10000 },
});

this.tags = this.getTags();
Expand Down