You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/04/09 14:56:00 UTC
[jira] [Commented] (RATIS-224) In RpcTimeout, it should shut down
the scheduler if there is no tasks
[ https://issues.apache.org/jira/browse/RATIS-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430644#comment-16430644 ]
Tsz Wo Nicholas Sze commented on RATIS-224:
-------------------------------------------
r224_20180409.patch: first patch. Will add some tests.
> In RpcTimeout, it should shut down the scheduler if there is no tasks
> ---------------------------------------------------------------------
>
> Key: RATIS-224
> URL: https://issues.apache.org/jira/browse/RATIS-224
> Project: Ratis
> Issue Type: Improvement
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: r224_20180409.patch
>
>
> Currently, RpcTimeout tracks the number of users. When the number of users becomes zero, it should shut down the scheduler .
> Instead of tracking users, it is better to try the number of tasks. When the number of tasks becomes zero, it should shut down the scheduler.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)