Monorepo for the nibling.run platform

Stop paging on repeated or empty cursors, with a page cap

Every listRecords and backlink loop ended only when the server stopped sending a cursor, so a PDS or Constellation that repeated one kept the caller looping until the tab ran out of memory. paginate() stops at an empty page, a missing or already-seen cursor, or 100 pages, and listRecords yields each record key once.


Author natemoo.re
Date Commit Parent fe8b5a0f
+116 -20
4 changed files
+116 -20
4 changed files