What kind of change does this PR introduce? (check one with "x")
[] Bugfix
[x] Feature
[] Code style update (formatting, local variables)
[] Refactoring (no functional changes, no api changes)
[] Other... Please describe:
Fixes: #
What is the current behavior?
While graceful engine shutdown , it waits for FLOGO_APP_DELAYED_STOP_INTERVAL configured duration irrespective whether inflight actions present or not. This results into redundant delay while app repush and scale-in as engine waits for 10sec (in TCI) even when no running actions present or actions completed in lesser duration.
Usecase: let say running actions completed in 2 sec but engine still waits for 10 sec for graceful shutdown.
What is the new behavior?
While graceful engine shutdown , Engine will only wait for max FLOGO_APP_DELAYED_STOP_INTERVAL duration if there any inflight actions running. Engine will shutdown as soon as all running actions completed.
Usecase: let say pending actions completed in 2 sec then engine will shutdown after 2 sec and will not wait for 10 sec as a part of graceful shutdown.
…TERVAL if all running actions completed
What kind of change does this PR introduce? (check one with "x")
Fixes: #
What is the current behavior? While graceful engine shutdown , it waits for FLOGO_APP_DELAYED_STOP_INTERVAL configured duration irrespective whether inflight actions present or not. This results into redundant delay while app repush and scale-in as engine waits for 10sec (in TCI) even when no running actions present or actions completed in lesser duration. Usecase: let say running actions completed in 2 sec but engine still waits for 10 sec for graceful shutdown.
What is the new behavior? While graceful engine shutdown , Engine will only wait for max FLOGO_APP_DELAYED_STOP_INTERVAL duration if there any inflight actions running. Engine will shutdown as soon as all running actions completed. Usecase: let say pending actions completed in 2 sec then engine will shutdown after 2 sec and will not wait for 10 sec as a part of graceful shutdown.