mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-12 21:48:35 +03:00
feat: add ENABLE_SHARING setting
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user