openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06336
Re: Configure Rate limits on OS API
You can configure those values thru the paste conf.
[filter:ratelimit]
paste.filter_factory =
nova.api.openstack.limits:RateLimitingMiddleware.factory
limits =("POST", "*", ".*", 10, MINUTE);("POST", "*/servers", "^/servers",
50, DAY);("PUT", "*", ".*", 10, MINUTE);("GET", "*changes-since*",
".*changes-since.*", 3, MINUTE);("DELETE", "*", ".*", 100, MINUTE)
On Mon, Dec 19, 2011 at 1:28 PM, Day, Phil <philip.day@xxxxxx> wrote:
> Hi Folks,****
>
> ** **
>
> Is there a file that can be used to configure the API rate limits for the
> OS API on a per user basis ?****
>
> ** **
>
> I can see where the default values are set in the code, but it looks as if
> there should be a less brutal configuration mechanism to go along with this
> ?****
>
> ** **
>
> Thanks****
>
> Phil ****
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
--
Nirmal
----------------------------
http://rnirmal.com
Follow ups
References