-
Notifications
You must be signed in to change notification settings - Fork 119
Expose keep alive event configurarion in ec config and update defaults. #3303
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
Conversation
c600605
to
0567a8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
src/config/ConfigOptions.ts
Outdated
* How long (in milliseconds) after the last keep-alive the server should expire the | ||
* MatrixRTC membership event. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* How long (in milliseconds) after the last keep-alive the server should expire the | |
* MatrixRTC membership event. | |
* The duration (in milliseconds) after the most recent keep-alive (delayed leave event restart) | |
* that the server waits before emitting the expire MatrixRTC membership event. |
Co-authored-by: fkwp <[email protected]>
Co-authored-by: fkwp <[email protected]>
Co-authored-by: fkwp <[email protected]>
key_rotation_on_leave_delay: 15000, | ||
membership_keep_alive_period: 5000, | ||
membership_server_side_expiry_timeout: 15000, | ||
wait_for_key_rotation_ms: 5000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this also be 3000 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know. In general the larger the better the experience. So probably 5000 is fine. Even though the example proposes a smaller value. (but then the sample is just the example and we wont always update it if we tune this part so them diverging is not an issue I think)
No description provided.