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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user