ProcessGroupOptions Type
Options applied when creating a `ProcessGroup`: the graceful-shutdown window and whole-tree resource limits.
Constructors
| Constructor |
Description
|
|
The defaults: a 2-second shutdown grace, no limits.
|
Instance members
| Instance member |
Description
|
|
The whole-tree resource caps applied at creation.
|
|
How long `ShutdownAsync` waits after SIGTERM before escalating to SIGKILL (Unix; default 2s).
|
|
|
|
A copy capping the number of live processes in the tree at `count`.
|
|
|
|
A copy with the shutdown grace window set. A negative `timeout` is rejected (`ArgumentOutOfRangeException`); `TimeSpan.Zero` is valid (no grace — escalate immediately).
|
ProcessKit API Reference