Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b08238c

Browse files
authored
chore: enable process priority management for dogfood (#15674)
1 parent 1f238fe commit b08238c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dogfood/contents/main.tf

+3
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,9 @@ resource "docker_container" "workspace" {
343343
env = [
344344
"CODER_AGENT_TOKEN=${coder_agent.dev.token}",
345345
"USE_CAP_NET_ADMIN=true",
346+
"CODER_PROC_PRIO_MGMT=1",
347+
"CODER_PROC_OOM_SCORE=10",
348+
"CODER_PROC_NICE_SCORE=1",
346349
]
347350
host {
348351
host = "host.docker.internal"

0 commit comments

Comments
 (0)