summaryrefslogtreecommitdiffstats
path: root/takahe
diff options
context:
space:
mode:
Diffstat (limited to 'takahe')
-rw-r--r--takahe/settings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/takahe/settings.py b/takahe/settings.py
index 926aac5..856c22c 100644
--- a/takahe/settings.py
+++ b/takahe/settings.py
@@ -90,6 +90,10 @@ class Settings(BaseSettings):
MEDIA_ROOT: str = str(BASE_DIR / "media")
MEDIA_BACKEND: Optional[MediaBackendUrl] = None
+ #: Request timeouts to use when talking to other servers Either
+ #: float or tuple of floats for (connect, read, write, pool)
+ REMOTE_TIMEOUT: float | tuple[float, float, float, float] = 5.0
+
#: If search features like full text search should be enabled.
#: (placeholder setting, no effect)
SEARCH: bool = True