chore: bump pydantic to 2.11 and pydantic-settings to 2.9 (#15049)
This commit is contained in:
@@ -173,7 +173,7 @@ class DatabaseConfig(BaseSettings):
|
||||
|
||||
RETRIEVAL_SERVICE_EXECUTORS: NonNegativeInt = Field(
|
||||
description="Number of processes for the retrieval service, default to CPU cores.",
|
||||
default=os.cpu_count(),
|
||||
default=os.cpu_count() or 1,
|
||||
)
|
||||
|
||||
@computed_field
|
||||
|
||||
Reference in New Issue
Block a user