1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-04 12:52:45 +00:00
arikawa/api/rate
diamondburned 2af51c9a5a API: V8 breaking rate limit changes
This commit updates Retry-After to be seconds-accurate instead of the
previous millisecond-accurate. Another issue (#153) is opened to get a
more accurate number, which is in the JSON body instead of the header.

This commit also removed the rate limit precision header. It also uses a
more accurate calculation algorithm to derive the reset time.
2020-10-28 14:31:15 -07:00
..
emoji.go
emoji_test.go
majors.go
majors_test.go
rate.go API: V8 breaking rate limit changes 2020-10-28 14:31:15 -07:00
rate_test.go