chore(env): update .env.example and docker-compose.yml to include WEKNORA_MODEL_MAX_CONCURRENCY
Add WEKNORA_MODEL_MAX_CONCURRENCY to the example environment file and docker-compose configuration, setting a default value of 8. This change supports the new model concurrency feature for background tasks, ensuring proper configuration across environments.
This commit is contained in:
@@ -725,6 +725,15 @@ DOCREADER_TRANSPORT=grpc
|
||||
# (asynq.wiki_concurrency); requires a process restart.
|
||||
# WEKNORA_WIKI_ASYNQ_CONCURRENCY=16
|
||||
|
||||
# Default per-model concurrency cap for background tasks (document ingest /
|
||||
# enrichment). Shared across replicas, keyed by model ID. Only affects
|
||||
# background LLM/embedding/VLM calls — interactive chat is never gated.
|
||||
# 0 or negative disables the default cap (per-model overrides in model
|
||||
# management still apply). Also settable in the management UI under
|
||||
# Settings → System settings (model.max_concurrency); UI changes take effect
|
||||
# immediately without a restart.
|
||||
# WEKNORA_MODEL_MAX_CONCURRENCY=8
|
||||
|
||||
# Read/write timeout (in milliseconds) the asynq client uses against Redis.
|
||||
# Default 500ms (writes scale to 1000ms). Bump if you see "i/o timeout"
|
||||
# errors during heavy multimodal counter DECRs or large batch uploads.
|
||||
|
||||
Reference in New Issue
Block a user