-
Notifications
You must be signed in to change notification settings - Fork 13k
chore(federation): increase time to accept DMs #37054
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
chore(federation): increase time to accept DMs #37054
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
WalkthroughAdjusted invite handling to introduce a conditional delay before triggering room join: 2000 ms for direct-message invites ( Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor MatrixServer as Matrix Server
participant InviteHandler as Invite Handler
participant Joiner as startJoiningRoom
MatrixServer->>InviteHandler: Receive invite event (includes is_direct)
alt is_direct == true
Note over InviteHandler: Schedule delayed join (2000 ms)
InviteHandler->>Joiner: startJoiningRoom(roomId, delay=2000)
else
Note over InviteHandler: Immediate join
InviteHandler->>Joiner: startJoiningRoom(roomId, delay=0)
end
Joiner-->>InviteHandler: Join attempt initiated
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## chore/federation-backup #37054 +/- ##
===========================================================
- Coverage 67.30% 67.29% -0.01%
===========================================================
Files 3342 3344 +2
Lines 113648 113501 -147
Branches 20757 20723 -34
===========================================================
- Hits 76486 76379 -107
+ Misses 34554 34511 -43
- Partials 2608 2611 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
0cf40bd to
5dd1650
Compare
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit