diff options
author | Mike Verdone <spiral@arcseconds.net> | 2019-07-22 14:18:58 +0200 |
---|---|---|
committer | Mike Verdone <spiral@arcseconds.net> | 2019-07-24 13:14:52 +0200 |
commit | 378f5f0fbe21c2533719fed9afe8313586fda5d5 (patch) | |
tree | 5520c6d313154e3362ad922398fb5a43f2f0a458 /config | |
parent | 666514194a325e2463c05bae516b89d7c5f59316 (diff) | |
download | pleroma-378f5f0fbe21c2533719fed9afe8313586fda5d5.tar.gz pleroma-378f5f0fbe21c2533719fed9afe8313586fda5d5.zip |
Add activity expiration worker
This is a worker that runs every minute and deletes expired activities.
It's based heavily on the scheduled activities worker.
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 569411866..2887353fb 100644 --- a/config/config.exs +++ b/config/config.exs @@ -447,6 +447,7 @@ config :pleroma, Pleroma.Web.Federator.RetryQueue, max_retries: 5 config :pleroma_job_queue, :queues, + activity_expiration: 10, federator_incoming: 50, federator_outgoing: 50, web_push: 50, @@ -536,6 +537,8 @@ config :pleroma, :rate_limit, status_id_action: {60_000, 3}, password_reset: {1_800_000, 5} +config :pleroma, Pleroma.ActivityExpiration, enabled: true + # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env()}.exs" |