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

Implement X-RateLimit-Precision handling #1081

Merged
merged 5 commits into from
Aug 16, 2019

Conversation

MinnDevelopment
Copy link
Member

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes Issue: NaN

Description

This implements the upcoming X-RateLimit-Precision header. Unfortunately discord doesn't echo this header so we have to wait for it to be released.

@MinnDevelopment
Copy link
Member Author

Waiting for this to be deployed so reactions don't send at lower rates.

@MinnDevelopment MinnDevelopment marked this pull request as ready for review August 11, 2019 18:29
@MinnDevelopment
Copy link
Member Author

We should expect users to have a proper ntp synchronized clock on their system.

@sebm253
Copy link
Contributor

sebm253 commented Aug 12, 2019

Cloned the repo with this branch and it gives me instant NPE while starting the bot on the line 156 (parseDouble). Will add more details later tomorrow.

@binaryoverload
Copy link

I'd guess that's because the particular headers are only in planning right now and are not in production?

@sebm253
Copy link
Contributor

sebm253 commented Aug 12, 2019

Ooh I see. I'm dumb, thanks.

@MinnDevelopment MinnDevelopment removed the status: freezer this is currently put on hold label Aug 14, 2019
@MinnDevelopment MinnDevelopment merged commit 45cc06c into development Aug 16, 2019
@MinnDevelopment MinnDevelopment deleted the patch-ratelimit-precision branch August 16, 2019 05:51
@MinnDevelopment MinnDevelopment added this to the v4.1.0 milestone Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants