spring-framework / org.springframework.context.support / DefaultLifecycleProcessor / setTimeoutPerShutdownPhase

setTimeoutPerShutdownPhase

open fun setTimeoutPerShutdownPhase(timeoutPerShutdownPhase: Long): Unit

Specify the maximum time allotted in milliseconds for the shutdown of any phase (group of SmartLifecycle beans with the same 'phase' value). The default value is 30 seconds.