arj03 / ssb-browser-demo

A secure scuttlebutt client interface running in the browser
Other
58 stars 11 forks source link

Lots of thread roots not downloaded #120

Open KyleMaas opened 3 years ago

KyleMaas commented 3 years ago

See discussion on #116

Out of the first 20 replies (excluding thread roots) in my Public tab, 5 of them have "replied to" titles, and 15 are just listed as "a thread".

From @KyleMaas

That sounds a bit wierd. Is that on you new Kyle profile?

You should be getting the latest 25 messages of feeds followed by feeds you follow, so it sounds strange that you are missing to many. What I want to say it that this sounds more like a bug in that part.

The code that was removed had at least two problems: 1) it would just queue up messages so if you were offline for an extended amount of time you potentially had a lot of those 2) it doesn't store the ooo messages, meaning you download them every time you go to the public page. There really should be 2 ooo methods (peek and get + store).

I would go looking for why you are missing so many messages first of all.

From @arj03

KyleMaas commented 3 years ago

This is on my new semi-permanent ID I set up. I am currently following you, your phone, and cel-desktop. At one point I was following cryptix, but I don't see it on the list anymore.

KyleMaas commented 3 years ago

This one still seems to be valid. Starting a new profile and following everyone available in the presets currently results in the following:

It would be awfully helpful if we had OOO-and-store. Or maybe if autorefresh is off, pull a tangle for each thread root we don't have, which should result in a partial replication of them which are stored in the database.

Thoughts?