diff options
author | Mark Felder <feld@feld.me> | 2024-01-20 18:51:20 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-01-20 18:51:20 -0500 |
commit | 17877f612e6c655290c5dc8bdb82f4b34e8b5b9f (patch) | |
tree | 8d4fcde89a7d0c3b6b87f56b24b9c08adc9fcee8 /config | |
parent | 4bb57d4f25bcdc90a63163ba175b6171c9ddbc33 (diff) | |
download | pleroma-17877f612e6c655290c5dc8bdb82f4b34e8b5b9f.tar.gz pleroma-17877f612e6c655290c5dc8bdb82f4b34e8b5b9f.zip |
Use config to control streamer registry
Diffstat (limited to 'config')
-rw-r--r-- | config/benchmark.exs | 3 | ||||
-rw-r--r-- | config/config.exs | 3 | ||||
-rw-r--r-- | config/test.exs | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/config/benchmark.exs b/config/benchmark.exs index 848344864..d30c95946 100644 --- a/config/benchmark.exs +++ b/config/benchmark.exs @@ -80,7 +80,8 @@ IO.puts("RUM enabled: #{rum_enabled}") config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock config :pleroma, Pleroma.Application, - background_migrators: false + background_migrators: false, + streamer_registry: false if File.exists?("./config/benchmark.secret.exs") do import_config "benchmark.secret.exs" diff --git a/config/config.exs b/config/config.exs index be9ddba53..7ff3aaa22 100644 --- a/config/config.exs +++ b/config/config.exs @@ -908,7 +908,8 @@ config :pleroma, Pleroma.Application, background_migrators: true, internal_fetch: true, load_custom_modules: true, - max_restarts: 3 + max_restarts: 3, + streamer_registry: true # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. diff --git a/config/test.exs b/config/test.exs index 898b0828e..afdb71d1d 100644 --- a/config/test.exs +++ b/config/test.exs @@ -166,7 +166,8 @@ config :pleroma, Pleroma.Application, background_migrators: false, internal_fetch: false, load_custom_modules: false, - max_restarts: 100 + max_restarts: 100, + streamer_registry: false if File.exists?("./config/test.secret.exs") do import_config "test.secret.exs" |