Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

feat(ingestor): raise default max_concurrent_workers from 1 to 2 (#19133)

jay77721de99c7596d9c
diff --git a/conf/service_conf.yaml b/conf/service_conf.yaml
index fa181efb82..dc1c20a789 100644
--- a/conf/service_conf.yaml
+++ b/conf/service_conf.yaml
@@ -68,7 +68,7 @@ otel:
enable: false
ingestor:
mq_type: 'nats'
- max_concurrent_workers: 1
+ max_concurrent_workers: 2
compiler_pool_size: 0
file_syncer:
max_concurrent_syncs: 5
diff --git a/docker/service_conf.yaml.template b/docker/service_conf.yaml.template
index 2070f96f27..1499a9755b 100644
--- a/docker/service_conf.yaml.template
+++ b/docker/service_conf.yaml.template
@@ -93,7 +93,7 @@ otel:
enable: false
ingestor:
mq_type: 'nats'
- max_concurrent_workers: 1
+ max_concurrent_workers: 2
compiler_pool_size: 0
file_syncer:
max_concurrent_syncs: 5
diff --git a/internal/server/config/ingestor_config.go b/internal/server/config/ingestor_config.go
index 684e289e06..7b3d33c029 100644
--- a/internal/server/config/ingestor_config.go
+++ b/internal/server/config/ingestor_config.go
@@ -30,7 +30,7 @@ type IngestorConfig struct {
func (c *Config) ParseIngestorConfig(v *viper.Viper) error {
// Default Ingestor config
- c.ingestor.MaxConcurrentWorkers = 1
+ c.ingestor.MaxConcurrentWorkers = 2
c.ingestor.CompilerPoolSize = 0
if !v.IsSet("ingestor") {