ssb: prettier.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled

This commit is contained in:
2025-04-09 22:15:51 -04:00
parent d9684c7d62
commit 67d458bd38
3 changed files with 38 additions and 14 deletions

View File

@ -177,7 +177,14 @@ class TfElement extends LitElement {
const k_chunk_size = 1024;
let min_row_id = 0;
console.log('loading about for', ids.length, 'accounts', cache.last_row_id, '=>', max_row_id);
console.log(
'loading about for',
ids.length,
'accounts',
cache.last_row_id,
'=>',
max_row_id
);
try {
while (true) {
let abouts = await tfrpc.rpc.query(
@ -229,7 +236,14 @@ class TfElement extends LitElement {
}
max_seen = about.rowid;
}
console.log('cache =', cache.last_row_id, 'seen =', max_seen, 'max =', max_row_id);
console.log(
'cache =',
cache.last_row_id,
'seen =',
max_seen,
'max =',
max_row_id
);
cache.last_row_id = Math.max(cache.last_row_id, max_seen ?? max_row_id);
min_row_id = Math.max(min_row_id, max_seen ?? max_row_id);
let new_cache = JSON.stringify(cache);