You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2013/06/19 04:03:21 UTC

[jira] [Created] (THRIFT-2046) The worktask can be timed out in TThreadPoolServer (Java) when the max# thrift thread is reached

Chaoyu Tang created THRIFT-2046:
-----------------------------------

             Summary: The worktask can be timed out in TThreadPoolServer (Java) when the max# thrift thread is reached
                 Key: THRIFT-2046
                 URL: https://issues.apache.org/jira/browse/THRIFT-2046
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Library
    Affects Versions: 0.9
            Reporter: Chaoyu Tang


Once the max# of thrift threads is reached, a new task (workprocess) is attempted to be executed in an infinite loop, then the client may hang.
An improvement is to introduce a task timeout. after a certain time, if the task is still not got queued to be executed. It will be invalidated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira