mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 16:24:31 -04:00
feat: Allow env_nested config with __ (#5616)
This commit is contained in:
@@ -434,7 +434,7 @@ class AppSettings(AppLoggingSettings):
|
|||||||
def WORKERS(self) -> int:
|
def WORKERS(self) -> int:
|
||||||
return max(1, self.WORKER_PER_CORE * self.UVICORN_WORKERS)
|
return max(1, self.WORKER_PER_CORE * self.UVICORN_WORKERS)
|
||||||
|
|
||||||
model_config = SettingsConfigDict(arbitrary_types_allowed=True, extra="allow")
|
model_config = SettingsConfigDict(arbitrary_types_allowed=True, extra="allow", env_nested_delimiter="__")
|
||||||
|
|
||||||
# ===============================================
|
# ===============================================
|
||||||
# TLS
|
# TLS
|
||||||
|
|||||||
Reference in New Issue
Block a user