feat: configure scheduling self-enrollment limits

This commit is contained in:
2026-08-20 11:45:07 +02:00
parent f11c675d11
commit 026e451aa4
3 changed files with 38 additions and 0 deletions
+10
View File
@@ -262,6 +262,16 @@ class Settings(BaseSettings):
le=90,
alias="SCHEDULING_CANCELLATION_NOTICE_DAYS",
)
scheduling_public_self_enrollment_enabled: bool = Field(
default=True,
alias="SCHEDULING_PUBLIC_SELF_ENROLLMENT_ENABLED",
)
scheduling_public_self_enrollment_max_capacity: int = Field(
default=10_000,
ge=1,
le=10_000,
alias="SCHEDULING_PUBLIC_SELF_ENROLLMENT_MAX_CAPACITY",
)
mock_mailbox_dir: str = Field(default="runtime/mock-mailbox", alias="MOCK_MAILBOX_DIR")
# Development bootstrap only. Do not use this in production.