~emersion/soju#80: 
Don't loose history on restart

Right now history is lost on bouncer restart (for clients that don't support chathistory). History is stored in an in-memory ring buffer.

This is an issue when upgrading soju: users will potentially miss messages.

We can switch to using the on-disk logs. We also need to store a pointer to the last sent log entry for each client.

Status
RESOLVED FIXED
Submitter
~emersion
Assigned to
No-one
Submitted
2 years ago
Updated
1 year, 10 months ago
Labels
enhancement

~emersion 2 years ago

We've now switched to on-disk logs.

~emersion 1 year, 11 months ago

Some WIP version of this is available in the save-delivery-receipts branch.

~emersion REPORTED FIXED 1 year, 10 months ago

Done in 1e4ff4947246 ("Save delivery receipts in DB").

Register here or Log in to comment, or comment via email.