Graceful shutdown shared variables
CM_SHUTDOWN_MODE
- Required
-
No
- Description
-
The mode of the shutdown. Possible values are 'immediate' and 'graceful'
- Defaults to
-
graceful
CM_GRACEFUL_SHUTDOWN_TIMEOUT_SECONDS
- Required
-
No
- Description
-
Timeout in seconds for each shutdown phase (group of SmartLifecycle beans with the same 'phase' value) when graceful shutdown is enabled.
- Defaults to
-
30
CM_GRACEFUL_SHUTDOWN_EXECUTOR_TIMEOUT_ENABLED
- Required
-
No
- Description
-
Flag indicating whether timeout for executor should be applied when graceful shutdown is enabled.
- Defaults to
-
true
CM_GRACEFUL_SHUTDOWN_EXECUTOR_TIMEOUT_SECONDS
- Required
-
No
- Description
-
Timeout in seconds the executor should wait for remaining tasks to complete, when graceful shutdown is enabled.
- Defaults to
-
30