Skip to content

Commit

Permalink
Double resources for npm/yarn/pnpm to reduce time taken (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell authored Feb 5, 2024
1 parent 9647c8b commit b63fec5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public static UpdateJobResources FromEcosystem(string ecosystem)
{
return ecosystem switch
{
"npm" => new(cpu: 0.5, memory: 1),
"yarn" => new(cpu: 0.5, memory: 1),
"pnpm" => new(cpu: 0.5, memory: 1),
"npm" => new(cpu: 1, memory: 2),
"yarn" => new(cpu: 1, memory: 2),
"pnpm" => new(cpu: 1, memory: 2),
"terraform" => new(cpu: 0.5, memory: 1),
_ => new(cpu: 0.25, memory: 0.5), // the minimum
};
Expand Down

0 comments on commit b63fec5

Please sign in to comment.