mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: smart neighbor count for next page caching
This commit is contained in:
1 parent
2909e61721
commit
2bb4c78551
1 file changed
+1
-1
@@ -220,7 +220,7 @@ export default function Page() {
|
|||||||
|
|
||||||
cacheNeighbors(
|
cacheNeighbors(
|
||||||
leaderboard[region][season][best.index],
|
leaderboard[region][season][best.index],
|
||||||
ROWS_PER_PAGE * 3,
|
2 * (Math.floor(ROWS_PER_PAGE / 2) + best.distance + ROWS_PER_PAGE),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
const ids = range(
|
const ids = range(
|
||||||
|
|||||||
Reference in new issue
Block a user