From 1d5425469c43c20e4b07fe2efb82e0e371d3f51a Mon Sep 17 00:00:00 2001 From: caetano melone Date: Tue, 12 Nov 2024 14:35:53 -0300 Subject: [PATCH] Revert "debug cpu limits" This reverts commit 99e866b7f34e49bef299da9a7d92f6b59d0c595f. --- gantry/routes/prediction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gantry/routes/prediction.py b/gantry/routes/prediction.py index 9317702..706f2d6 100644 --- a/gantry/routes/prediction.py +++ b/gantry/routes/prediction.py @@ -74,7 +74,7 @@ async def predict(db: aiosqlite.Connection, spec: dict) -> dict: "variables": { "KUBERNETES_CPU_REQUEST": predictions["cpu_request"], "KUBERNETES_MEMORY_REQUEST": predictions["mem_request"], - "KUBERNETES_CPU_LIMIT": "5", + "KUBERNETES_CPU_LIMIT": predictions["cpu_limit"], "KUBERNETES_MEMORY_LIMIT": predictions["mem_limit"], "SPACK_BUILD_JOBS": predictions["build_jobs"], "CI_JOB_SIZE": "custom",