summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-01-21 14:40:14 -0500
committerMark Felder <feld@feld.me>2024-01-22 18:37:13 -0500
commit653b14e1c798bbddc34821fa56f32fef9c227f01 (patch)
tree97fa9794d6e0de71f2d30092e0c52a7235bbc426 /config/config.exs
parent8efae57d67f327265176d21553ef57987fc540e8 (diff)
downloadpleroma-653b14e1c798bbddc34821fa56f32fef9c227f01.tar.gz
pleroma-653b14e1c798bbddc34821fa56f32fef9c227f01.zip
Use config to control Uploader callback timeout
Diffstat (limited to 'config/config.exs')
-rw-r--r--config/config.exs2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 7ff3aaa22..bb17ab145 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -911,6 +911,8 @@ config :pleroma, Pleroma.Application,
max_restarts: 3,
streamer_registry: true
+config :pleroma, Pleroma.Uploaders.Uploader, timeout: 30_000
+
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"