From c08f98b34b1237b44a9dc1ff9dcbc25e819328e5 Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Thu, 5 Dec 2024 16:58:53 +0000 Subject: [PATCH] fix(dogfood): re-enable process priority management for dogfood - The dogfood-related bugs with this feature are (hopefully) resolved. This reverts commit 19ec6af2ad92049c029b7a3751bdd1b2782f95fb. --- dogfood/contents/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dogfood/contents/main.tf b/dogfood/contents/main.tf index 0eb20d14a62f5..b88474a40ca41 100644 --- a/dogfood/contents/main.tf +++ b/dogfood/contents/main.tf @@ -349,6 +349,9 @@ resource "docker_container" "workspace" { env = [ "CODER_AGENT_TOKEN=${coder_agent.dev.token}", "USE_CAP_NET_ADMIN=true", + "CODER_PROC_PRIO_MGMT=1", + "CODER_PROC_OOM_SCORE=10", + "CODER_PROC_NICE_SCORE=1", ] host { host = "host.docker.internal"