feat: support adjusting child proc oom scores (#12655)

This commit is contained in:
Jon Ayers
2024-04-03 09:42:03 -05:00
committed by GitHub
parent ac8d1c6696
commit 426e9f2b96
7 changed files with 320 additions and 39 deletions
+3
View File
@@ -283,6 +283,9 @@ func (r *RootCmd) workspaceAgent() *serpent.Command {
if v, ok := os.LookupEnv(agent.EnvProcPrioMgmt); ok {
environmentVariables[agent.EnvProcPrioMgmt] = v
}
if v, ok := os.LookupEnv(agent.EnvProcOOMScore); ok {
environmentVariables[agent.EnvProcOOMScore] = v
}
agnt := agent.New(agent.Options{
Client: client,