summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-01-20 18:47:25 -0500
committerMark Felder <feld@feld.me>2024-01-20 18:47:25 -0500
commit4bb57d4f25bcdc90a63163ba175b6171c9ddbc33 (patch)
tree884e2c8de9c5a6c8c2116839d17ef65cc7b7ff63 /config
parentc7eda0b24ade372e4e167ae560a2debb555a6e02 (diff)
downloadpleroma-4bb57d4f25bcdc90a63163ba175b6171c9ddbc33.tar.gz
pleroma-4bb57d4f25bcdc90a63163ba175b6171c9ddbc33.zip
Use config to control background migrators
Diffstat (limited to 'config')
-rw-r--r--config/benchmark.exs3
-rw-r--r--config/config.exs1
-rw-r--r--config/test.exs1
3 files changed, 5 insertions, 0 deletions
diff --git a/config/benchmark.exs b/config/benchmark.exs
index e3e1118ed..848344864 100644
--- a/config/benchmark.exs
+++ b/config/benchmark.exs
@@ -79,6 +79,9 @@ IO.puts("RUM enabled: #{rum_enabled}")
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
+config :pleroma, Pleroma.Application,
+ background_migrators: false
+
if File.exists?("./config/benchmark.secret.exs") do
import_config "benchmark.secret.exs"
else
diff --git a/config/config.exs b/config/config.exs
index c6a12a7b2..be9ddba53 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -905,6 +905,7 @@ config :pleroma, Pleroma.Search.Meilisearch,
initial_indexing_chunk_size: 100_000
config :pleroma, Pleroma.Application,
+ background_migrators: true,
internal_fetch: true,
load_custom_modules: true,
max_restarts: 3
diff --git a/config/test.exs b/config/test.exs
index 0a6688823..898b0828e 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -163,6 +163,7 @@ peer_module =
config :pleroma, Pleroma.Cluster, peer_module: peer_module
config :pleroma, Pleroma.Application,
+ background_migrators: false,
internal_fetch: false,
load_custom_modules: false,
max_restarts: 100