Skip to content

Commit bc325cf

Browse files
authored
Disable debug and reload by default
The default behavior should work out of the box in production.
1 parent 6dd9137 commit bc325cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

microbootstrap/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class BaseServiceSettings(
2424
pydantic_settings.BaseSettings,
2525
):
26-
service_debug: bool = True
26+
service_debug: bool = False
2727
service_environment: str | None = None
2828
service_name: str = "micro-service"
2929
service_description: str = "Micro service description"
@@ -32,7 +32,7 @@ class BaseServiceSettings(
3232

3333
server_host: str = "0.0.0.0" # noqa: S104
3434
server_port: int = 8000
35-
server_reload: bool = True
35+
server_reload: bool = False
3636
server_workers_count: int = 1
3737

3838
model_config = pydantic_settings.SettingsConfigDict(

0 commit comments

Comments
 (0)