feat(http): rework Gun connection pooling

This commit is contained in:
Lain Soykaf 2026-07-17 20:35:17 +04:00
commit f11ffca7f5
No known key found for this signature in database
22 changed files with 2133 additions and 192 deletions

View file

@ -3085,9 +3085,16 @@ config :pleroma, :config_description, [
%{
key: :max_connections,
type: :integer,
description: "Maximum number of connections in the pool. Default: 250 connections.",
description:
"Maximum total number of connections in the pool. HTTP/1 origins may use multiple connections within this limit, while HTTP/2 connections are multiplexed. Default: 250 connections.",
suggestions: [250]
},
%{
key: :max_idle_time,
type: :integer,
description: "Time before an unused connection is closed. Default: 30000ms.",
suggestions: [30_000]
},
%{
key: :connect_timeout,
type: :integer,