Skip to content

Commit

Permalink
move to capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad committed May 15, 2024
1 parent 90dc007 commit d6aa4b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/spot-runner-action/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ class Ec2Instance {
LaunchTemplateConfigs: [fleetLaunchConfig],
ClientToken: this.config.clientToken || undefined,
SpotOptions: {
AllocationStrategy: "price-capacity-optimized",
AllocationStrategy: "capacity-optimized",
},
TargetCapacitySpecification: {
TotalTargetCapacity: 1,
Expand Down
2 changes: 1 addition & 1 deletion .github/spot-runner-action/src/ec2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class Ec2Instance {
LaunchTemplateConfigs: [fleetLaunchConfig],
ClientToken: this.config.clientToken || undefined,
SpotOptions: {
AllocationStrategy: "price-capacity-optimized",
AllocationStrategy: "capacity-optimized",
},
TargetCapacitySpecification: {
TotalTargetCapacity: 1,
Expand Down

0 comments on commit d6aa4b2

Please sign in to comment.