Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exempt a configurable number of MARKREAD commands from fakelag #1978

Merged
merged 4 commits into from
Aug 23, 2022

Conversation

slingamn
Copy link
Member

@slingamn slingamn commented Jul 4, 2022

cc @emersion @progval

This is intended to solve slow reattaches by Goguma after ircv3/ircv3-specifications#489; right now, Goguma sends enough MARKREAD commands to trigger fakelag.

This change seems fairly low risk. The main thing I'm concerned about is that the config file is part of the "public API" of Ergo, so to speak, so I want to be sure that the command-budgets concept is sufficiently expressive and reasonably future-proof.

@slingamn slingamn added this to the v2.11 milestone Jul 4, 2022
@slingamn
Copy link
Member Author

Note: can we zero-rate no-op JOIN commands? This helps with clients (like Goguma) attempting to rejoin all channels on reconnection. (However, the long-term fix for this involves communicating that the server is maintaining presence and the client should not attempt to rejoin channels: this prevents the client from rejoining channels that were PART'ed from a different session.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant