Skip to content

Conversation

@goto-bus-stop
Copy link
Member

  • Broadcast messages are only stored once, not duplicated for each 'lost
    connection'
  • In the future, reconnections will be able to specify the last event ID
    that was observed by the client instead of having the server make
    assumptions
  • In the future, this could be used to show some chat backscroll when
    users join..?

- Broadcast messages are only stored once, not duplicated for each 'lost
  connection'
- In the future, reconnections will be able to specify the last event ID
  that was observed by the client instead of having the server make
  assumptions
- In the future, this could be used to show some chat backscroll when
  users join..?
.execute();
disconnectedUsers.forEach((user) => {
this.add(this.createLostConnection(user, 'TODO: Actual session ID!!'));
this.add(this.createLostConnection(user, 'TODO: Actual session ID!!', null));
Copy link
Member Author

Choose a reason for hiding this comment

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

might be a good time to solve this now(?)

Copy link
Member Author

Choose a reason for hiding this comment

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

No it's not 😇

I think when all session state is in SQLite this will be feasible.

@coveralls
Copy link

coveralls commented Dec 12, 2025

Coverage Status

coverage: 86.187% (+0.005%) from 86.182%
when pulling fdfc57a on sqlite-message-queue
into 78131da on default.

@goto-bus-stop goto-bus-stop merged commit 96ae461 into default Dec 12, 2025
7 checks passed
@goto-bus-stop goto-bus-stop deleted the sqlite-message-queue branch December 12, 2025 07:54
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