Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

keeps.html: bump fetchAllCodes limit to 20000

@jeffrey has ~4K kidlisp pieces and 80+ kept records scattered across
them; the 2000 ceiling clipped the oldest kept pieces before they
reached the client's scopeIndexEntries filter.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+4 -3
+4 -3
system/public/kidlisp.com/keeps.html
··· 3690 3690 3691 3691 async function fetchAllCodes(sort = 'recent') { 3692 3692 try { 3693 - // 2000 is well above any plausible per-user piece count; the server 3694 - // already filtered to acHandle so this is just a safety ceiling. 3695 - const url = buildStoreUrl(`&limit=2000&sort=${sort}`); 3693 + // 20000 is a ceiling — @jeffrey already has ~4K pieces and the 3694 + // server-side handle filter needs headroom, otherwise older 3695 + // kept pieces get cut off before they reach the client. 3696 + const url = buildStoreUrl(`&limit=20000&sort=${sort}`); 3696 3697 const res = await fetch(url, { cache: 'no-store' }); 3697 3698 if (!res.ok) throw new Error(`HTTP ${res.status}`); 3698 3699 const data = await res.json();