ticktackim / ticktack-workplan

This is the main repo for continuous workplan. For official site, visit
http://ticktack.im
56 stars 6 forks source link

Switching btwn Patchwork + Ticktack is slow #159

Closed mixmix closed 6 years ago

mixmix commented 6 years ago

masukomi said :

I find that if i quit Patchwork, open Ticktack, quit Ticktack, and open Patchwork again, I have to sit through many minutes of patchwork reindexing my database. This has happened both times I've tried opening the new Ticktack. I don't remember it happening with older versions.

Is this expected @mix / @SoapDog ?


yes @masukomi

Basically scuttlebutt has an issue where running different versions of plugins results in scuttlebot re-indexing when you shift btwn apps.

We know about this, and I've opened this already to resolve it https://github.com/ssbc/patchwork/pull/812

If you'd like to help that get merged, you can pull that branch down and smoke test it (run it and see if any smoke comes out).

mixmix commented 6 years ago

An update of at least ssb-query was needed in order to display blogs in the order they were pubished. This is especially important for people who have just restored their database, or have just joined the network, and the old ssb-query only shows thing in the order you received them, which can have no relation to when they were published depending on the order you sync feeds.

I also took the opportunity to upgrade to the latest scuttlebot - this means that indexing should be faster because we no longer have every index trying to decrypt messages.

mixmix commented 6 years ago

there's a PR which has been merged in Patchwork which will fix this when a new release of Patchwork is released!

I'll pull the latest master down and confirm that :white_check_mark: ALL GOOD!