Slowness with busy channels #94

Closed
opened 2026-10-05 03:20:57 +02:00 by adam · 6 comments
Owner

The app is significantly slow when switching to a channel that has a lot of messages. Do we have to manually clear out the db every so often?

The app is significantly slow when switching to a channel that has a lot of messages. Do we have to manually clear out the db every so often? <!-- github-sync-id:4840129044 -->
adam closed this issue 2026-10-05 03:20:58 +02:00
Author
Owner

First, thank you for using Contact long enough to encounter this issue! I tend to wipe my db frequency for dev work. There is currently no way to clear the messages within the app. You can erase your db manually by deleting the client.db file which can found in app settings -> db path. This will clear all client information and only load what is stored on the node.

This does give me an idea however to dynamically load message history as the user scrolls back...

First, thank you for using Contact long enough to encounter this issue! I tend to wipe my db frequency for dev work. There is currently no way to clear the messages within the app. You can erase your db manually by deleting the client.db file which can found in app settings -> db path. This will clear all client information and only load what is stored on the node. This does give me an idea however to dynamically load message history as the user scrolls back... <!-- github-comment-id:4918510090 -->
Author
Owner

That's what I was thinking, but didn't know how possible it is.

That's what I was thinking, but didn't know how possible it is. <!-- github-comment-id:4934185861 -->
Author
Owner

Just comes here with the same issue, client becomes painfully slow with big channels.
Will wait for some solution and remove db for a while.

Just comes here with the same issue, client becomes painfully slow with big channels. Will wait for some solution and remove db for a while. <!-- github-comment-id:5012368887 -->
Author
Owner

@norrinr @mesb1 I'd love to hear if this is fixed in the latest release. Thanks!

@norrinr @mesb1 I'd love to hear if this is fixed in the latest release. Thanks! <!-- github-comment-id:5014635481 -->
Author
Owner

Tried with old big db backup before deletion.
So far so good.

Tried with old big db backup before deletion. So far so good. <!-- github-comment-id:5014805750 -->
Author
Owner

Yeah, swapped in the old db file and it loaded up quicker. It only goes back so many days, though, and doesn't seem to load any more (maybe that's intended). I wasn't able to cat the old db and new db together.

Yeah, swapped in the old db file and it loaded up quicker. It only goes back so many days, though, and doesn't seem to load any more (maybe that's intended). I wasn't able to cat the old db and new db together. <!-- github-comment-id:5024967498 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/contact#94