You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Atri Sharma (JIRA)" <ji...@apache.org> on 2019/07/16 07:14:00 UTC

[jira] [Commented] (LUCENE-8915) Allow RateLimiter To Have Dynamic Limits

    [ https://issues.apache.org/jira/browse/LUCENE-8915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885887#comment-16885887 ] 

Atri Sharma commented on LUCENE-8915:
-------------------------------------

Hmm, I do not see a reason why SimpleRateLimiter cannot dynamically set values today (the setter is public).

 

Should we make the rate limit value as protected, or update the javadocs/comments to reflect that dynamic updatability is available?

> Allow RateLimiter To Have Dynamic Limits
> ----------------------------------------
>
>                 Key: LUCENE-8915
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8915
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Atri Sharma
>            Priority: Major
>
> RateLimiter does not allow dynamic configuration of the rate limit today. This limits the kind of applications that the functionality can be applied to. This Jira tracks 1) allowing the rate limiter to change limits dynamically. 2) Add a RateLimiter subclass which exposes the same.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org