diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-09-11 09:32:58 +0300 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-09-11 09:32:58 +0300 |
commit | e47089cf5506952befd6995f04e2683a168ff9e2 (patch) | |
tree | 5b64a36de4a8b0b81bf82530e5ab96ddead0040a | |
parent | 38b29779c3372741ce1d7b652922058ad2fda79c (diff) | |
download | pleroma-e47089cf5506952befd6995f04e2683a168ff9e2.tar.gz |
web_cache_ttl description
-rw-r--r-- | config/description.exs | 23 |
1 files changed, 23 insertions, 0 deletions
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] + } + ] } ] |