squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.41k stars 53 forks source link

WHO is being rate-limited #584

Open aeadio opened 2 hours ago

aeadio commented 2 hours ago

Reopening #293

This appears to either be unfixed, or else a regression has occurred. Happening on the latest release, 2024.12 (MacOS).

who_poll_interval and who_retry_interval within a [servers] block seem to be ignored. Snippet from config:

[servers.znc-libera]
server = "<redacted>.ts.net"
port = 6501
use_tls = false
username = "<redacted>/libera"
password = "<redacted>"
nickname = "<redacted>"
realname = "<redacted>"
who_poll_interval = 3600
who_retry_interval = 3600

I get spammed with rate-limited messages regardless of which value is provided to those tunables. In fact, the rate limiting seems to be so bad, I can't do anything on Libera after startup -- like join additional channels or send messages.

I'm not interested in seeing who is away, so it's bizarre to me that this feature is not configurable.

andymandias commented 2 hours ago

ZNC supports away-notify, so you shouldn't be seeing continued WHO spam. There will be a burst when launching Halloy, but that should be it. What version of ZNC and enabled modules are you running? I would like to reproduce this behavior.