Gikkman / Java-Twirk

Small, basic library for communication via the Twitch chat. Java 8 compatible
MIT License
54 stars 22 forks source link

Allow custom PING interval #29

Closed Gikkman closed 4 years ago

Gikkman commented 4 years ago

Twitch recommends you ping them once every >5 minutes IF you haven't seen a message from them. While this is fine for the most part, sometimes Twitch is unstable and connections are dropped. This takes up to 5 minutes to detect though, so it would be neat to let users of the library set a custom timeout IF they want to.