mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
- An opt-in feature has been added to the agent to allow deprioritizing non coder-related processes for CPU by setting their niceness level to 10. - Opting in to the feature requires setting CODER_PROC_PRIO_MGMT to a non-empty value.
6 lines
252 B
Go
6 lines
252 B
Go
// Package agentproctest contains utility functions
|
|
// for testing process management in the agent.
|
|
package agentproctest
|
|
|
|
//go:generate mockgen -destination ./syscallermock.go -package agentproctest github.com/coder/coder/v2/agent/agentproc Syscaller
|