Truncate log messages in html so it doesn\'t kill phones. Fix id in log message

This commit is contained in:
2025-05-22 22:39:23 -07:00
parent a3a9682f86
commit b1277a762e
3 changed files with 7 additions and 6 deletions

View File

@@ -341,7 +341,7 @@ class App {
for (let post of posts) {
console.log.apply(null, log(`[app] sendPostForUser sending post [${logID(post.id)}] to [${logID(requestingPeerID)}]`, userID, post));
console.log.apply(null, log(`[app] sendPostForUser sending post [${logID(post.post_id)}] to [${logID(requestingPeerID)}]`, userID, post));
this.peerManager?.rpc.sendPostForUser(requestingPeerID, userID, post);
}
@@ -362,7 +362,7 @@ class App {
clearTimeout(this.renderTimer);
}
this.renderTimer = setTimeout(()=>{this.render()}, 1000)
this.renderTimer = setTimeout(()=>{this.render()}, 200);
// }
});