aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-09-07 20:57:38 +0300
committerrinpatch <rinpatch@sdf.org>2020-09-10 21:51:59 +0300
commit2c2094d4b2722cf511e3db8288c3754a48038f05 (patch)
treeabe83a93be7eadc15d8fb2d49279cf1656340228 /docs/configuration
parent4954667fb24ee6ab7b1bf3b676f7e88a582130cf (diff)
downloadpleroma-2c2094d4b2722cf511e3db8288c3754a48038f05.tar.gz
configurable lifetime for ephemeral activities
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/cheatsheet.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
index d0bebbd45..8f2425384 100644
--- a/docs/configuration/cheatsheet.md
+++ b/docs/configuration/cheatsheet.md
@@ -1091,3 +1091,16 @@ config :pleroma, :frontends,
```
This would serve the frontend from the the folder at `$instance_static/frontends/pleroma/stable`. You have to copy the frontend into this folder yourself. You can choose the name and ref any way you like, but they will be used by mix tasks to automate installation in the future, the name referring to the project and the ref referring to a commit.
+
+## Ephemeral activities
+
+Settings to enable and configure expiration for ephemeral activities
+
+* `:enabled` - enables ephemeral activities creation
+* `:min_lifetime` - minimum lifetime for ephemeral activities (in seconds). Default: 10 minutes.
+
+Example:
+
+```elixir
+ config :pleroma, Pleroma.Workers.PurgeExpiredActivity, enabled: true, min_lifetime: 600
+```