Skip to content

fix(muc): Implement join queue for autojoined bookmarks#2188

Merged
jubalh merged 1 commit into
masterfrom
fix/1776
Jul 6, 2026
Merged

fix(muc): Implement join queue for autojoined bookmarks#2188
jubalh merged 1 commit into
masterfrom
fix/1776

Conversation

@jubalh

@jubalh jubalh commented Jul 6, 2026

Copy link
Copy Markdown
Member

Autojoining a large number of bookmarks at the same time can trigger server side flood protection (shaper limits) resulting in connection termination.

We sent a join presence and three IQ affiliation requests (members, admins, and owners) for every room at login.

From now on we use a GLib queue with a 200ms delay.

Fixes: #1776

@jubalh jubalh added this to the next milestone Jul 6, 2026
@jubalh jubalh self-assigned this Jul 6, 2026
Autojoining a large number of bookmarks at the same time can trigger
server side flood protection (shaper limits) resulting in connection
termination.

We sent a join presence and three IQ affiliation requests (members,
admins, and owners) for every room at login.

From now on we use a GLib queue with a 200ms delay.

Fixes: #1776
Signed-off-by: Michael Vetter <jubalh@iodoru.org>
@jubalh jubalh merged commit fd53eb7 into master Jul 6, 2026
12 checks passed
@jubalh jubalh deleted the fix/1776 branch July 6, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Connectivity issues with too many bookmarks

1 participant