Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When the JD has no more work to give, the JP thread (only one) should wait for awhile and try again until work is available. This used to work until recent refactoring was done to support pull service JPs.
By default the JP will block for 60 secs before trying again. If the service receives SIGTERM while its retry thread is waiting, such thread should be interrupted so that the service can stop. There is no need to wait until the timer (60s) expires.