feat: add ENABLE_SHARING setting

This commit is contained in:
Felix Spöttel
2023-06-29 13:11:23 +02:00
parent 238a694f72
commit f01ea48f57
5 changed files with 29 additions and 20 deletions

View File

@@ -5,14 +5,14 @@ from pydantic import BaseSettings
class Settings(BaseSettings):
API_SECRET: str
BROKER_URL: str
DATABASE_URI: str
ENVIRONMENT: str
TASK_SOFT_TIME_LIMIT: int = 3 * 60 * 60
TASK_HARD_TIME_LIMIT: int = 4 * 60 * 60
# derived settings
BROKER_URL: str
ENABLE_SHARING: bool = False
if "pytest" in sys.modules: