Re: How to change "LIMIT RATE" settings?

2023-09-06 Thread David Trowbridge
Hi,

That should be the correct setting to change. You probably need to restart
the web server in order for that change to take effect.

David

On Wed, Sep 6, 2023 at 7:49 AM Gianluca Busiello <
gianluca.busie...@gmail.com> wrote:

> I'm running RB v4.x and I'm affected by the error:
>
> API Error 114: API Rate Limit Exceeded
>
> which is due to the http response from the server:
>
> urllib.error.HTTPError: HTTP Error 429: Too Many Requests
>
> when running a large query through the rbtools library.
>
> I would like to relax the rate limits to make my query work reliably and I
> have found out that the setting "API_AUTHENTICATED_LIMIT_RATE" is what I am
> looking for.
> I tried to set it to None in settings_local.py as a first step, but it
> doesn't seem to have any effect on the rate limit.
> My questions are:
> - is settings_local.py the right place to control the settings?
> - is "None" the right value to disable api limit rates? or should I
> override the default with a new value?
>
> Any help would be really appreciated.
> Regards,
> Gianluca
>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/e1792527-035d-4804-96e9-155b83e6c9d0n%40googlegroups.com
> 
> .
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNXyrTSPtG6meUx8Jzz4%3DyniFwWxOG6Kuo05GN7T8Nhh_Q%40mail.gmail.com.


How to change "LIMIT RATE" settings?

2023-09-06 Thread Gianluca Busiello
I'm running RB v4.x and I'm affected by the error:

API Error 114: API Rate Limit Exceeded

which is due to the http response from the server:

urllib.error.HTTPError: HTTP Error 429: Too Many Requests

when running a large query through the rbtools library.

I would like to relax the rate limits to make my query work reliably and I 
have found out that the setting "API_AUTHENTICATED_LIMIT_RATE" is what I am 
looking for.
I tried to set it to None in settings_local.py as a first step, but it 
doesn't seem to have any effect on the rate limit.
My questions are:
- is settings_local.py the right place to control the settings?
- is "None" the right value to disable api limit rates? or should I 
override the default with a new value?

Any help would be really appreciated.
Regards,
Gianluca


-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/e1792527-035d-4804-96e9-155b83e6c9d0n%40googlegroups.com.