summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2021-02-18 20:40:10 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2021-02-18 20:40:10 +0300
commitb981edad8a7d8f27b231bc6164fc0546efbdb646 (patch)
treedc603dbb2f3eb45ab2a99e826aabb4f6dbfd7b05 /config/description.exs
parent854ea1aefb5ff4e03e9e9af6e8dd50f66c61c913 (diff)
[#3213] HashtagsTableMigrator: fault rate allowance to enable the feature (defaults to 1%), counting of affected objects, misc. tweaks.
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index 29fc5fbd4..6ffc71278 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -480,6 +480,13 @@ config :pleroma, :config_description, [
description: "`populate_hashtags_table` background migration settings",
children: [
%{
+ key: :fault_rate_allowance,
+ type: :float,
+ description:
+ "Max rate of failed objects to actually processed objects in order to enable the feature (any value from 0.0 which tolerates no errors to 1.0 which will enable the feature even if hashtags transfer failed for all records).",
+ suggestions: [0.01]
+ },
+ %{
key: :sleep_interval_ms,
type: :integer,
description: