Handle process signals through cooperative cancellation
This commit is contained in:
@@ -11,6 +11,10 @@ or [migration guidance](native-migration.md) for older callers.
|
||||
Use an argument vector with explicit paths appropriate to the deployment.
|
||||
Absolute paths avoid dependence on a service's working directory. Keep stdout
|
||||
and stderr separate, and choose caller cancellation/deadline behavior.
|
||||
On the executable, the first SIGINT or SIGTERM requests cooperative cancellation;
|
||||
started work can drain and available capture can be finalized. A subsequent signal
|
||||
uses ordinary process handling and may interrupt cleanup. No shutdown deadline is
|
||||
implied, and callers should not assume non-cooperative extensions will stop.
|
||||
|
||||
Validate the application and pipeline offline:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user