Cap visible posts at 60
This commit is contained in:
parent
09562d8876
commit
8adab752ff
|
|
@ -114,8 +114,8 @@ function getPostTimeMs(p) {
|
|||
return d.getTime();
|
||||
}
|
||||
|
||||
const MAX_POOL_POSTS = 120;
|
||||
const MAX_VISIBLE_POSTS = 70;
|
||||
const MAX_POOL_POSTS = 90;
|
||||
const MAX_VISIBLE_POSTS = 60;
|
||||
|
||||
function prunePosts(posts, center, maxCount) {
|
||||
if (!Array.isArray(posts) || posts.length <= maxCount) return posts || [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue