From 58ff2dc9508c73d6025491939b9410c5f6f2cc6f Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Thu, 30 Nov 2023 08:15:00 +0300 Subject: [PATCH] Double resources for terraform, npm, yarn, and pnpm --- .../Models/Management/UpdateJobResources.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/Tingle.Dependabot/Models/Management/UpdateJobResources.cs b/server/Tingle.Dependabot/Models/Management/UpdateJobResources.cs index 0a651a78..95bc53b0 100644 --- a/server/Tingle.Dependabot/Models/Management/UpdateJobResources.cs +++ b/server/Tingle.Dependabot/Models/Management/UpdateJobResources.cs @@ -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 }; }