Skip to content
Success

Changes

Summary

  1. WebSocketClient optimization/enhancements (#645) (commit: 8f5558c) (details)
Commit 8f5558c1d336411a00dd520f35c0a80a2d350e57 by noreply
WebSocketClient optimization/enhancements (#645)
* Optimize gc time
* Cleaned up WebSocketClient
* Invalidate gateway url when we encounter an exception on connect()
* Use AtomicInteger for rate-limit counter
* Make everything protected rather than private
* Added switch to disable stream compression
* Moved some things around for better event handling
(commit: 8f5558c)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/JDABuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/bot/sharding/DefaultShardManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/bot/sharding/DefaultShardManagerBuilder.java (diff)