Also manage graceful shutdown of already started async requests
Signed-off-by: Thomas Draebing <thomas.draebing@sap.com>
This commit is contained in:
parent
37a8e44347
commit
a46ed5b5f0
|
@ -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())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue