fix: change the config name and fix typo in description of the number of retrieval executors (#13856)

This commit is contained in:
Bowen Liang 2025-02-19 09:13:36 +08:00 committed by GitHub
commit dfdd6dfa20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -167,8 +167,8 @@ class DatabaseConfig(BaseSettings):
default=False,
)
RETRIEVAL_SERVICE_WORKER: NonNegativeInt = Field(
description="If True, enables the retrieval service worker.",
RETRIEVAL_SERVICE_EXECUTORS: NonNegativeInt = Field(
description="Number of processes for the retrieval service, default to CPU cores.",
default=os.cpu_count(),
)