ssb: Be a bit more aggressive about loading latest messages. It bugs me when I don't see my own reactions in a channel or whatnot, and I think it has to do with the queried time ranges.

This commit is contained in:
2025-01-25 18:00:06 -05:00
parent 5b647e0937
commit 83e00763ea
3 changed files with 5 additions and 4 deletions

View File

@ -437,10 +437,11 @@ class TfElement extends LitElement {
(await tfrpc.rpc.databaseGet('unread')) ?? '{}'
);
this.following = Object.keys(following);
let about_start_time = new Date();
users = await this.fetch_about(following, users);
console.log(
'about took',
(new Date() - start_time) / 1000.0,
(new Date() - about_start_time) / 1000.0,
'seconds for',
Object.keys(users).length,
'users'