summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorrinpatch <rin@patch.cx>2021-03-15 09:35:46 +0000
committerrinpatch <rin@patch.cx>2021-03-15 09:35:46 +0000
commit8194622a72d863e71428bf7dba9a2a962b163d4e (patch)
treecd10436a46df60542201f8c60e68aa936f771ad9 /config/description.exs
parent19fbe5b860789fb6f4958de71f9ca3ed655ee00d (diff)
parentcb734566093f406fc3db12de2408fc166486f417 (diff)
downloadpleroma-8194622a72d863e71428bf7dba9a2a962b163d4e.tar.gz
pleroma-8194622a72d863e71428bf7dba9a2a962b163d4e.zip
Merge branch 'feature/object-hashtags-rework' into 'develop'
Hashtags extraction from objects. Background migration infrastructure. Closes #1840 and #2455 See merge request pleroma/pleroma!3213
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs36
1 files changed, 36 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index d9b15e684..41e5e4056 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -461,6 +461,42 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
+ key: :features,
+ type: :group,
+ description: "Customizable features",
+ children: [
+ %{
+ key: :improved_hashtag_timeline,
+ type: {:dropdown, :atom},
+ description:
+ "Setting to force toggle / force disable improved hashtags timeline. `:enabled` forces hashtags to be fetched from `hashtags` table for hashtags timeline. `:disabled` forces object-embedded hashtags to be used (slower). Keep it `:auto` for automatic behaviour (it is auto-set to `:enabled` [unless overridden] when HashtagsTableMigrator completes).",
+ suggestions: [:auto, :enabled, :disabled]
+ }
+ ]
+ },
+ %{
+ group: :pleroma,
+ key: :populate_hashtags_table,
+ type: :group,
+ description: "`populate_hashtags_table` 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 hashtags transfer 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",