REGISTRY_LIMITS

tcmts.registry.REGISTRY_LIMITS · #zf7bn73f · term · runs anywhere

How much a registry takes from anyone, so no one can make it hold, fetch or remember without end: releases mirrored per account, definitions a release's namespace may name, pages of a listing read (of 100 records each, or 500 accounts), and visitors' follows and codebases remembered.

export const REGISTRY_LIMITS = {
  releasesPerAccount: 1000,
  definitionsPerRelease: 50_000,
  pagesPerListing: 50,
  rememberedVisitors: 2000,
} as const

used by