diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-04-01 16:31:33 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2025-04-01 14:53:00 +0000 |
| commit | d863cf4b6ba09cf66facfb69e94a366417c22a3c (patch) | |
| tree | 320797c6745898ac08c3aa685f448514a7558f52 /dashboard/app/batch_main.go | |
| parent | b864549925395065342bee664c1de358cf66c3f3 (diff) | |
dashboard/app: double the requested CPU
We changes the machine type to c3-highmem-8.
But forgot to double the CPU resources.
Diffstat (limited to 'dashboard/app/batch_main.go')
| -rw-r--r-- | dashboard/app/batch_main.go | 4 |
1 files changed, 2 insertions, 2 deletions
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{ |
