X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Fdescription.exs;h=c5ae63915bf2def4d5f9c33d839a95364e3ebb47;hb=bf9d631fcaca072ae7adfdc77c78c1e4dfeffc5c;hp=a56a95089d2cd47f1cfb9af13f74e3ee9fa819df;hpb=10827eecad5ef521dff3673c0891cbec2c8bb44b;p=akkoma diff --git a/config/description.exs b/config/description.exs index a56a95089..c5ae63915 100644 --- a/config/description.exs +++ b/config/description.exs @@ -2810,5 +2810,28 @@ config :pleroma, :config_description, [ suggestions: [["Authorization", "Content-Type", "Idempotency-Key"]] } ] + }, + %{ + group: :pleroma, + key: :web_cache_ttl, + type: :group, + description: + "The expiration time for the web responses cache. Values should be in milliseconds or `nil` to disable expiration.", + children: [ + %{ + key: :activity_pub, + type: :integer, + description: + "activity pub routes (except question activities). Defaults to `nil` (no expiration).", + suggestions: [30_000, nil] + }, + %{ + key: :activity_pub_question, + type: :integer, + description: + "activity pub routes (question activities). Defaults to `30_000` (30 seconds).", + suggestions: [30_000] + } + ] } ]