Use config to control loading of custom modules
This commit is contained in:
parent
029aaf3d74
commit
c7eda0b24a
5 changed files with 26 additions and 21 deletions
|
|
@ -905,6 +905,8 @@ config :pleroma, Pleroma.Search.Meilisearch,
|
|||
initial_indexing_chunk_size: 100_000
|
||||
|
||||
config :pleroma, Pleroma.Application,
|
||||
internal_fetch: true,
|
||||
load_custom_modules: true,
|
||||
max_restarts: 3
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
|
|
|
|||
|
|
@ -162,7 +162,10 @@ peer_module =
|
|||
|
||||
config :pleroma, Pleroma.Cluster, peer_module: peer_module
|
||||
|
||||
config :pleroma, Pleroma.Application, max_restarts: 100
|
||||
config :pleroma, Pleroma.Application,
|
||||
internal_fetch: false,
|
||||
load_custom_modules: false,
|
||||
max_restarts: 100
|
||||
|
||||
if File.exists?("./config/test.secret.exs") do
|
||||
import_config "test.secret.exs"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue