diff options
author | tusooa <tusooa@kazv.moe> | 2022-09-04 18:43:36 +0000 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2022-09-04 18:43:36 +0000 |
commit | 20347898e22d10f377cd35f21407555dbac53bbf (patch) | |
tree | 2e8b1afbda166dc3368152e058e5caca2df65241 /config | |
parent | c63cf954dea70f76beed007e11902d0a0470fc3a (diff) | |
parent | 88c1c76d3eca3412d1e02008f1b8d96fe8fe0b96 (diff) | |
download | pleroma-20347898e22d10f377cd35f21407555dbac53bbf.tar.gz |
Merge branch 'fix/federation-context-issues' into 'develop'
Fix reply context fixing (Pleroma replies to Misskey threads) and removal of context objects
See merge request pleroma/pleroma!3717
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 2 | ||||
-rw-r--r-- | config/description.exs | 21 |
2 files changed, 23 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index 1653358a0..aa53b7653 100644 --- a/config/config.exs +++ b/config/config.exs @@ -673,6 +673,8 @@ config :pleroma, :features, improved_hashtag_timeline: :auto config :pleroma, :populate_hashtags_table, fault_rate_allowance: 0.01 +config :pleroma, :delete_context_objects, fault_rate_allowance: 0.01 + config :pleroma, :env, Mix.env() config :http_signatures, diff --git a/config/description.exs b/config/description.exs index c6c6b1b5d..c28447b37 100644 --- a/config/description.exs +++ b/config/description.exs @@ -497,6 +497,27 @@ config :pleroma, :config_description, [ }, %{ group: :pleroma, + key: :delete_context_objects, + type: :group, + description: "`delete_context_objects` background migration settings", + children: [ + %{ + key: :fault_rate_allowance, + type: :float, + description: + "Max accepted rate of objects that failed in the migration. Any value from 0.0 which tolerates no errors to 1.0 which will enable the feature even if context object deletion failed for all records.", + suggestions: [0.01] + }, + %{ + key: :sleep_interval_ms, + type: :integer, + description: + "Sleep interval between each chunk of processed records in order to decrease the load on the system (defaults to 0 and should be keep default on most instances)." + } + ] + }, + %{ + group: :pleroma, key: :instance, type: :group, description: "Instance-related settings", |