summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2022-12-24 00:17:17 -0500
committertusooa <tusooa@kazv.moe>2022-12-24 00:20:25 -0500
commit179efd94677d1d30bdbbbbaafc899c8c908181d2 (patch)
treef1c4d4b81720b5846a59e9ef875be88b6624aac9 /config/description.exs
parent7d3e4eaeb94a5381d56a3281e5813b7e0c63c8dd (diff)
downloadpleroma-179efd94677d1d30bdbbbbaafc899c8c908181d2.tar.gz
pleroma-179efd94677d1d30bdbbbbaafc899c8c908181d2.zip
Make backup parameters configurable
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index bf4734426..996267558 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -3394,6 +3394,21 @@ config :pleroma, :config_description, [
type: :integer,
description: "Limit user to export not more often than once per N days",
suggestions: [7]
+ },
+ %{
+ key: :process_wait_time,
+ type: :integer,
+ label: "Process Wait Time",
+ description:
+ "The amount of time to wait for backup to report progress, in milliseconds. If no progress is received from the backup job for that much time, terminate it and deem it failed.",
+ suggestions: [30_000]
+ },
+ %{
+ key: :process_chunk_size,
+ type: :integer,
+ label: "Process Chunk Size",
+ description: "The number of activities to fetch in the backup job for each chunk.",
+ suggestions: [100]
}
]
},