Skip to content

Conversation

@theomonnom
Copy link
Member

No description provided.

@theomonnom theomonnom requested a review from a team September 30, 2024 19:15
Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit on the log, otherwise lgtm

proto::leave_request::Action::Resume
| proto::leave_request::Action::Reconnect => {
log::warn!(
"received session close: {:?} {:?} {:?}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"received session close: {:?} {:?} {:?}",
"received server-initiated reconnect: {:?} {:?} {:?}",

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it isn't necessarily server-initiated, this part needs cleanup but it is also called when the SignalClient is being closed unexpectedly. In this case we create our own leave_request locally with the reason Unknown.

@theomonnom theomonnom merged commit 5bc686b into main Sep 30, 2024
@theomonnom theomonnom deleted the theo/avoid-reconnection-logs branch September 30, 2024 19:25
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.

3 participants