Skip to content

Commit

Permalink
Double resources for terraform, npm, yarn, and pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Nov 30, 2023
1 parent e7fc16b commit 58ff2dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/Tingle.Dependabot/Models/Management/UpdateJobResources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ public static UpdateJobResources FromEcosystem(string ecosystem)
{
return ecosystem switch
{
//"nuget" => new(cpu: 0.25, memory: 0.2),
//"gitsubmodule" => new(cpu: 0.1, memory: 0.2),
//"terraform" => new(cpu: 0.25, memory: 1),
//"npm" => new(cpu: 0.25, memory: 1),
_ => new UpdateJobResources(cpu: 0.25, memory: 0.5), // the minimum
"npm" => new(cpu: 0.5, memory: 1),
"yarn" => new(cpu: 0.5, memory: 1),
"pnpm" => new(cpu: 0.5, memory: 1),
"terraform" => new(cpu: 0.5, memory: 1),
_ => new(cpu: 0.25, memory: 0.5), // the minimum
};
}

Expand Down

0 comments on commit 58ff2dc

Please sign in to comment.