From 5cd20bbb5aa5cfc172480936cdf4a2cf5bbaaf13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= Date: Sat, 4 Sep 2021 12:45:40 +0200 Subject: [PATCH] Raise ratelimit cooldown for JOIN messages (#3219) Was 10.5s (0.5s over the actual cooldown), changed to 12.5s (2.5s over the actual cooldown) to accomodate for any server-side lag spikes. --- CHANGELOG.md | 1 + src/providers/irc/AbstractIrcServer.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d6b9738..e243c73e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ - Bugfix: Fixed a bug that caused all badge highlights to use the same color. (#3132, #3134) - Bugfix: Allow starting Streamlink from Chatterino when running as a Flatpak. (#3178) - Bugfix: Fixed own IRC messages not having metadata and a link to a usercard. (#3203) +- Bugfix: Fixed some channels still not loading in rare cases. (#3219) - Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103) - Dev: Add benchmarks that can be compiled with the `BUILD_BENCHMARKS` CMake flag. Off by default. (#3038) diff --git a/src/providers/irc/AbstractIrcServer.cpp b/src/providers/irc/AbstractIrcServer.cpp index 0ccebdec..352af378 100644 --- a/src/providers/irc/AbstractIrcServer.cpp +++ b/src/providers/irc/AbstractIrcServer.cpp @@ -17,7 +17,7 @@ const int MAX_FALLOFF_COUNTER = 60; // Ratelimits for joinBucket_ const int JOIN_RATELIMIT_BUDGET = 18; -const int JOIN_RATELIMIT_COOLDOWN = 10500; +const int JOIN_RATELIMIT_COOLDOWN = 12500; AbstractIrcServer::AbstractIrcServer() {