chore(env): update WEKNORA_MODEL_MAX_CONCURRENCY to 32 in configuration files

Increase the default value of WEKNORA_MODEL_MAX_CONCURRENCY from 8 to 32 in .env.example, docker-compose.yml, and related application code. This change enhances the concurrency limit for background tasks, ensuring better performance and resource management across the system.
This commit is contained in:
wizardchen
2026-07-10 14:48:54 +08:00
committed by lyingbug
parent 37dcdc7f74
commit 38aacc3113
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -449,7 +449,7 @@ func initLangfuse() (*langfuse.Manager, error) {
// model.max_concurrency is unset. summary / question / graph enrichment all
// share the same model, so this bounds their combined pressure on one provider
// across every replica. Interactive chat is never gated.
const defaultModelMaxConcurrency = 8
const defaultModelMaxConcurrency = 32
// resolveModelMaxConcurrency reads the per-model background concurrency limit
// from system settings / env, defaulting to defaultModelMaxConcurrency when