Increase Presidio startup timeout for multi-language images (#62)
authorStefan Gasser <redacted>
Mon, 26 Jan 2026 08:26:19 +0000 (09:26 +0100)
committerGitHub <redacted>
Mon, 26 Jan 2026 08:26:19 +0000 (09:26 +0100)
commita88c1049d22ef19f4869503ff8dd78a56e259a47
tree44c85e5c52f032774a0960c0b43bd3d31eb11576
parentd9b4e9df877b4b6e4a287730a139b33a64b1c59d
Increase Presidio startup timeout for multi-language images (#62)

The EU image loads 9 spaCy language models which takes ~2 minutes.
The previous 30-second timeout caused PasteGuard to restart multiple
times before Presidio was ready.

- Increase default timeout from 30s to 180s
- Add PRESIDIO_STARTUP_TIMEOUT env var for customization
- Document startup time in config and docs

Fixes #58
docs/configuration/pii-detection.mdx
src/index.ts
git clone https://git.99rst.org/PROJECT