ssb: Remove log noise.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 8m43s

This commit is contained in:
2025-11-29 21:34:25 -05:00
parent c0dd47ba28
commit 83fd005ded
5 changed files with 8 additions and 34 deletions

View File

@@ -79,11 +79,13 @@ tfrpc.register(async function query(sql, args, options) {
}
}
let end = new Date();
print(
(end - start) / 1000,
entry ? 'from cache' : 'from db',
sql.replaceAll(/\s+/g, ' ').trim()
);
if (end - start > 1000) {
print(
(end - start) / 1000,
entry ? 'from cache' : 'from db',
sql.replaceAll(/\s+/g, ' ').trim()
);
}
return result;
});
tfrpc.register(async function appendMessage(id, message) {