You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Christian Schneider (Jira)" <ji...@apache.org> on 2020/01/15 09:49:00 UTC
[jira] [Created] (SLING-8997) Delayed shutdown of sling instance
because ExponentialBackOff executor waits for scheduled check
Christian Schneider created SLING-8997:
------------------------------------------
Summary: Delayed shutdown of sling instance because ExponentialBackOff executor waits for scheduled check
Key: SLING-8997
URL: https://issues.apache.org/jira/browse/SLING-8997
Project: Sling
Issue Type: Bug
Components: Content Distribution
Affects Versions: Content Distribution Journal Core 0.1.8
Reporter: Christian Schneider
Assignee: Christian Schneider
Fix For: Content Distribution Journal Core 0.1.8
Currently we only call shutdown on the executor of ExponentialBackOff. This leaves the executor thread running until the scheduled check happens. This can take up to the maximum delay (by default 5 minutes).
The solution is to call shutdownNow so the scheduled check is canceled.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)