diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-02-13 22:01:11 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-02-13 22:01:11 +0300 |
commit | 349b8b0f4fb1c2b86f913e1840f15c052ff43c24 (patch) | |
tree | c068b5a22e7af4c36e1bab8f7eb6195ac0e04c37 /config | |
parent | 5992382cf86d89879b7a8e2dcbf26e910634a73a (diff) | |
download | pleroma-349b8b0f4fb1c2b86f913e1840f15c052ff43c24.tar.gz |
[#3213] `rescue` around potentially-raising `Repo.insert_all/_` calls. Misc. improvements (docs etc.).
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 1 | ||||
-rw-r--r-- | config/description.exs | 14 |
2 files changed, 14 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index 8a7c466d3..0fbca06f3 100644 --- a/config/config.exs +++ b/config/config.exs @@ -556,7 +556,6 @@ config :pleroma, Oban, remote_fetcher: 2, attachments_cleanup: 1, new_users_digest: 1, - hashtags_cleanup: 1, mute_expire: 5 ], plugins: [Oban.Plugins.Pruner], diff --git a/config/description.exs b/config/description.exs index 2e96024f5..29fc5fbd4 100644 --- a/config/description.exs +++ b/config/description.exs @@ -475,6 +475,20 @@ config :pleroma, :config_description, [ }, %{ group: :pleroma, + key: :populate_hashtags_table, + type: :group, + description: "`populate_hashtags_table` background migration settings", + children: [ + %{ + 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", |