uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-5885) UIMA-DUCC The JP not waiting if JD has no work
Date Fri, 05 Oct 2018 17:04:00 GMT
Jerry Cwiklik created UIMA-5885:
-----------------------------------

             Summary: UIMA-DUCC The JP not waiting if JD has no work
                 Key: UIMA-5885
                 URL: https://issues.apache.org/jira/browse/UIMA-5885
             Project: UIMA
          Issue Type: Bug
          Components: DUCC
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.2.3-Ducc


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message