DEFAULT_EXTRACTION_LIMITS
@forge/monorepo / backend/src / DEFAULT_EXTRACTION_LIMITS
Variable: DEFAULT_EXTRACTION_LIMITS
constDEFAULT_EXTRACTION_LIMITS:ExtractionLimits
Defined in: backend/src/documents/index.ts:153
Conservative defaults.
maxPages: 500 is a long report, not a book; maxTextBytes: 2 MiB is roughly 500k tokens of source text,
far more than any context window, so the ceiling never binds before the read bounds do. timeoutMs is
short on purpose — a worker occupied for a minute by one document is a worker not serving anyone else, and
a document that slow is a document to reject rather than wait for.