Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,24 @@ COURTLISTENER_API_TOKEN=your-courtlistener-token
# GET /manifest-signing-key. Rotating the key does not invalidate past exports,
# but whoever checks one needs the key that was current when it was made.
MANIFEST_SIGNING_KEY=

# Optional durable job queues (BullMQ). Only needed when an ASYNC_* flag below
# is "true"; the default (synchronous) deployment needs no Redis.
REDIS_URL=redis://localhost:6379
# When "true", DOCX→PDF conversion is enqueued to the BullMQ document-conversion
# queue (uploads return status "processing"; an in-process worker converts and
# flips to "ready"). Requires REDIS_URL + the frontend to poll document status.
# Default "false" runs conversion inline on the request thread.
ASYNC_DOCUMENT_CONVERSION=false
# When "true", tabular-review cell extraction runs on the BullMQ
# tabular-extraction queue (one job per document) instead of inline in the
# POST /tabular-review/:id/generate request. Extraction then survives client
# disconnects + server restarts and retries failed documents; the request tails
# progress over Redis pub/sub and can be resumed via GET .../generate/stream.
# Requires REDIS_URL. Default "false" runs extraction inline.
ASYNC_TABULAR_EXTRACTION=false
# Stale-work reaper: documents stuck "processing" longer than this (with no
# live conversion job) are flipped to "error" so the UI never spins forever.
# The sweep runs every STALE_SWEEP_INTERVAL_MS. Defaults: 30 min / 10 min.
#STALE_DOC_PROCESSING_MS=1800000
#STALE_SWEEP_INTERVAL_MS=600000
49 changes: 49 additions & 0 deletions backend/bun.lock

Large diffs are not rendered by default.

Loading