summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.exs5
-rw-r--r--config/description.exs14
2 files changed, 19 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index 60c982557..370828c1c 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -494,6 +494,7 @@ config :pleroma, Oban,
transmogrifier: 20,
scheduled_activities: 10,
background: 5,
+ remote_fetcher: 2,
attachments_cleanup: 5
]
@@ -623,6 +624,10 @@ config :pleroma, :modules, runtime_dir: "instance/modules"
config :pleroma, configurable_from_database: false
+config :pleroma, :mastodon_compatibility,
+ # https://git.pleroma.social/pleroma/pleroma/issues/1505
+ federated_note_replies_limit: 5
+
config :swarm, node_blacklist: [~r/myhtml_.*$/]
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
diff --git a/config/description.exs b/config/description.exs
index 1ffb66287..909ae00d9 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -3099,6 +3099,20 @@ config :pleroma, :config_description, [
},
%{
group: :pleroma,
+ key: :mastodon_compatibility,
+ type: :group,
+ description: "Mastodon compatibility-related settings.",
+ children: [
+ %{
+ key: :federated_note_replies_limit,
+ type: :integer,
+ description:
+ "The number of Note self-reply URIs to be included with outgoing federation (`5` to mimic Mastodon hardcoded value, `0` to disable)."
+ }
+ ]
+ },
+ %{
+ group: :pleroma,
type: :group,
description: "Allow instance configuration from database.",
children: [