Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-Rate-Limit-Interval has no defined format #267

Closed
jakegt1 opened this issue Aug 17, 2017 · 4 comments
Closed

X-Rate-Limit-Interval has no defined format #267

jakegt1 opened this issue Aug 17, 2017 · 4 comments

Comments

@jakegt1
Copy link

jakegt1 commented Aug 17, 2017

The X-Rate-Limit-Interval header, as I last tried it had a value of "1s" - I'm not sure what to expect when programming -

Is a value like "1m30s" possible? Or "1h1m30s", and should i program accordingly?

I do assume that it'll probably be static at 1s (10 requests per 1 second seems reasonable as of now), but as I don't know what this interval can be I can't really develop accordingly.

@AndrewBennet
Copy link

Is there any update on this?

@gbilder
Copy link
Contributor

gbilder commented Jun 18, 2018

Hi. Rate limits were introduced in kind of a rush, so sorry about lack of doc. X-Rate-Limit-Interval will always be expressed in seconds, so no need for complicated parsing. I have updated the documentation.

@AndrewBennet
Copy link

Thanks! Good to know :)

@ppolischuk
Copy link
Collaborator

Closing per @gbilder's comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants