Add Pleroma.Web.Preload to description.exs

This commit is contained in:
Angelina Filippova 2020-08-24 22:43:37 +03:00
parent d39abd02ac
commit 6e5678b5af
1 changed files with 19 additions and 0 deletions

View File

@ -3571,5 +3571,24 @@ config :pleroma, :config_description, [
]
}
]
},
%{
group: :pleroma,
key: Pleroma.Web.Preload,
type: :group,
description: "Preload-related settings",
children: [
%{
key: :providers,
type: {:list, :module},
description: "List of preload providers to enable",
suggestions: [
Pleroma.Web.Preload.Providers.Instance,
Pleroma.Web.Preload.Providers.User,
Pleroma.Web.Preload.Providers.Timelines,
Pleroma.Web.Preload.Providers.StatusNet
]
}
]
}
]