Cap visible posts at 60

This commit is contained in:
Your Name 2025-12-26 02:01:26 -05:00
parent 09562d8876
commit 8adab752ff
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ function getPostTimeMs(p) {
return d.getTime(); return d.getTime();
} }
const MAX_POOL_POSTS = 120; const MAX_POOL_POSTS = 90;
const MAX_VISIBLE_POSTS = 70; const MAX_VISIBLE_POSTS = 60;
function prunePosts(posts, center, maxCount) { function prunePosts(posts, center, maxCount) {
if (!Array.isArray(posts) || posts.length <= maxCount) return posts || []; if (!Array.isArray(posts) || posts.length <= maxCount) return posts || [];