Use config to control max_restarts

This commit is contained in:
Mark Felder 2024-01-20 18:14:27 -05:00
commit 029aaf3d74
3 changed files with 6 additions and 6 deletions

View file

@ -904,6 +904,9 @@ config :pleroma, Pleroma.Search.Meilisearch,
private_key: nil,
initial_indexing_chunk_size: 100_000
config :pleroma, Pleroma.Application,
max_restarts: 3
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"

View file

@ -162,6 +162,8 @@ peer_module =
config :pleroma, Pleroma.Cluster, peer_module: peer_module
config :pleroma, Pleroma.Application, max_restarts: 100
if File.exists?("./config/test.secret.exs") do
import_config "test.secret.exs"
else