Skip to main content

ExtractionWorkerConfig

@retinue/monorepo


@retinue/monorepo / backend/src / ExtractionWorkerConfig

Type Alias: ExtractionWorkerConfig

ExtractionWorkerConfig = object

Defined in: backend/src/worker/extraction.ts:27

Properties​

concurrency​

readonly concurrency: number

Defined in: backend/src/worker/extraction.ts:32

Jobs at once. Low by default, and lower than the run worker's on purpose: extraction is CPU-bound, and four concurrent PDF parses on one event loop is four slow parses rather than four fast ones.


shutdownGraceMs​

readonly shutdownGraceMs: number

Defined in: backend/src/worker/extraction.ts:33