Skip to content
Success

Changes

Summary

  1. Implement X-RateLimit-Precision handling (#1081) (commit: 45cc06c) (details)
Commit 45cc06c059fb4af64058c460b0d34ac61f8bcb05 by noreply
Implement X-RateLimit-Precision handling (#1081)
* Implement X-RateLimit-Precision handling
* Add support for X-RateLimit-Reset-After and make it the default
* Catch and log unexpected exception when parsing headers
(commit: 45cc06c)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/ratelimit/ClientRateLimiter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/config/flags/ConfigFlag.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/JDABuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/Requester.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/config/SessionConfig.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/sharding/DefaultShardManagerBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/Route.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/ratelimit/IBucket.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/ratelimit/BotRateLimiter.java (diff)