Skip to content

Commit 89479cc

Browse files
authored
fix(dogfood): re-enable process priority management for dogfood (coder#15765)
- The dogfood-related bugs with this feature are (hopefully) resolved. This reverts commit 19ec6af.
1 parent 05914cb commit 89479cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dogfood/contents/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ resource "docker_container" "workspace" {
349349
env = [
350350
"CODER_AGENT_TOKEN=${coder_agent.dev.token}",
351351
"USE_CAP_NET_ADMIN=true",
352+
"CODER_PROC_PRIO_MGMT=1",
353+
"CODER_PROC_OOM_SCORE=10",
354+
"CODER_PROC_NICE_SCORE=1",
352355
]
353356
host {
354357
host = "host.docker.internal"

0 commit comments

Comments
 (0)