http timeout config (#307)
[akkoma] / config / config.exs
index 5278896f1d77f49252fd146f5c6e5971d2c83136..04fcd4964754058904b39fc462e9d7349ac8c065 100644 (file)
@@ -180,6 +180,8 @@ config :tesla, :adapter, {Tesla.Adapter.Finch, name: MyFinch}
 
 # Configures http settings, upstream proxy etc.
 config :pleroma, :http,
+  pool_timeout: :timer.seconds(5),
+  receive_timeout: :timer.seconds(15),
   proxy_url: nil,
   user_agent: :default,
   adapter: []