Merge pull request #5804 from blockscout/fix-runtime-config

Move ReplacedTransaction.Supervisor conf to static
pull/5806/head
Victor Baranov 2 years ago committed by GitHub
commit 828373bf1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/indexer/config/config.exs
  2. 1
      config/runtime.exs

@ -5,6 +5,8 @@ import Config
config :indexer, config :indexer,
ecto_repos: [Explorer.Repo] ecto_repos: [Explorer.Repo]
# config :indexer, Indexer.Fetcher.ReplacedTransaction.Supervisor, disabled?: true
config :indexer, Indexer.Tracer, config :indexer, Indexer.Tracer,
service: :indexer, service: :indexer,
adapter: SpandexDatadog.Adapter, adapter: SpandexDatadog.Adapter,

@ -361,7 +361,6 @@ coin_balance_on_demand_fetcher_threshold =
config :indexer, Indexer.Fetcher.CoinBalanceOnDemand, threshold: coin_balance_on_demand_fetcher_threshold config :indexer, Indexer.Fetcher.CoinBalanceOnDemand, threshold: coin_balance_on_demand_fetcher_threshold
# config :indexer, Indexer.Fetcher.ReplacedTransaction.Supervisor, disabled?: true
config :indexer, Indexer.Fetcher.BlockReward.Supervisor, config :indexer, Indexer.Fetcher.BlockReward.Supervisor,
disabled?: System.get_env("INDEXER_DISABLE_BLOCK_REWARD_FETCHER", "false") == "true" disabled?: System.get_env("INDEXER_DISABLE_BLOCK_REWARD_FETCHER", "false") == "true"

Loading…
Cancel
Save