Also manage graceful shutdown of already started async requests

Signed-off-by: Thomas Draebing <thomas.draebing@sap.com>
This commit is contained in:
Thomas Draebing 2020-08-19 09:57:28 +02:00
parent 37a8e44347
commit a46ed5b5f0
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ public class StatisticsHandler extends HandlerWrapper implements Graceful
_dispatchedStats.decrement(); _dispatchedStats.decrement();
_dispatchedTimeStats.record(dispatched); _dispatchedTimeStats.record(dispatched);
if (state.isSuspended()) if (state.isSuspended() || state.isAsyncStarted())
{ {
if (state.isInitial()) if (state.isInitial())
{ {