From 6417194d90fb276b16f5f39cee6128e2ef32da1c Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 26 Dec 2025 02:34:30 -0500 Subject: [PATCH] Limit visible posts to 45 --- src/components/Map/usePostsEngine.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Map/usePostsEngine.js b/src/components/Map/usePostsEngine.js index 4e70948..8df7c4c 100644 --- a/src/components/Map/usePostsEngine.js +++ b/src/components/Map/usePostsEngine.js @@ -114,8 +114,8 @@ function getPostTimeMs(p) { return d.getTime(); } -const MAX_POOL_POSTS = 90; -const MAX_VISIBLE_POSTS = 60; +const MAX_POOL_POSTS = 75; +const MAX_VISIBLE_POSTS = 45; function prunePosts(posts, center, maxCount) { if (!Array.isArray(posts) || posts.length <= maxCount) return posts || []; @@ -659,7 +659,7 @@ export function usePostsEngine({ lat, lon: lng, radius_km: radiusKm, - limit: 60, + limit: 45, zoom, bounds, username: username || undefined,