[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to