Exception: DoclingClient::Timeout
- Defined in:
- app/services/docling_client.rb
Overview
Raised when the sync convert endpoint blows CONVERT_TIMEOUT — which equals the
server's aligned DOCLING_SERVE_MAX_SYNC_WAIT, so a doc that hits it won't
convert on a retry within the same ceiling. Subclass of Error (existing
rescues still catch it), but distinct so unattended callers can treat it as
PERMANENT — skip the doc rather than burn Sidekiq retries re-wedging the
single-instance CPU accessory. Upgrade path when this gets common: docling's
async task API (/v1/convert/file/async + poll), per the integration doc.