|
|
@@ -3330,5 +3330,53 @@ config :pleroma, :config_description, [ |
|
|
|
suggestions: [:text, :protobuf] |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
%{ |
|
|
|
group: :pleroma, |
|
|
|
key: ConcurrentLimiter, |
|
|
|
type: :group, |
|
|
|
description: "Limits configuration for background tasks.", |
|
|
|
children: [ |
|
|
|
%{ |
|
|
|
key: Pleroma.Web.RichMedia.Helpers, |
|
|
|
type: :keyword, |
|
|
|
description: "Concurrent limits configuration for getting RichMedia for activities.", |
|
|
|
suggestions: [max_running: 5, max_waiting: 5], |
|
|
|
children: [ |
|
|
|
%{ |
|
|
|
key: :max_running, |
|
|
|
type: :integer, |
|
|
|
description: "Max running concurrently jobs.", |
|
|
|
suggestion: [5] |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: :max_waiting, |
|
|
|
type: :integer, |
|
|
|
description: "Max waiting jobs.", |
|
|
|
suggestion: [5] |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicy, |
|
|
|
type: :keyword, |
|
|
|
description: "Concurrent limits configuration for MediaProxyWarmingPolicy.", |
|
|
|
suggestions: [max_running: 5, max_waiting: 5], |
|
|
|
children: [ |
|
|
|
%{ |
|
|
|
key: :max_running, |
|
|
|
type: :integer, |
|
|
|
description: "Max running concurrently jobs.", |
|
|
|
suggestion: [5] |
|
|
|
}, |
|
|
|
%{ |
|
|
|
key: :max_waiting, |
|
|
|
type: :integer, |
|
|
|
description: "Max waiting jobs.", |
|
|
|
suggestion: [5] |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
] |