chore: bump pydantic to 2.11 and pydantic-settings to 2.9 (#15049)
This commit is contained in:
parent
58d9d35515
commit
cbc8ebd8f5
11 changed files with 88 additions and 71 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue