ssb: Remove log noise.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 8m43s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 8m43s
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user