From d863cf4b6ba09cf66facfb69e94a366417c22a3c Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Tue, 1 Apr 2025 16:31:33 +0200 Subject: dashboard/app: double the requested CPU We changes the machine type to c3-highmem-8. But forgot to double the CPU resources. --- dashboard/app/batch_main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dashboard/app') diff --git a/dashboard/app/batch_main.go b/dashboard/app/batch_main.go index d5ae07d46..36f15e0f3 100644 --- a/dashboard/app/batch_main.go +++ b/dashboard/app/batch_main.go @@ -44,8 +44,8 @@ func createScriptJob(ctx context.Context, projectID, jobNamePrefix, script strin }, }}, ComputeResource: &batchpb.ComputeResource{ - // CpuMilli is milliseconds per cpu-second. This means the task requires 2 whole CPUs. - CpuMilli: 4000, + // CpuMilli is milliseconds per cpu-second. This means the task requires 8 whole CPUs. + CpuMilli: 8000, MemoryMib: 12 * 1024, }, MaxRunDuration: &durationpb.Duration{ -- cgit mrf-deployment