diff --git a/apps/indexer/config/config.exs b/apps/indexer/config/config.exs index 426ea5cc18..5ce9ab28a2 100644 --- a/apps/indexer/config/config.exs +++ b/apps/indexer/config/config.exs @@ -5,8 +5,6 @@ import Config config :indexer, ecto_repos: [Explorer.Repo] -# config :indexer, Indexer.Fetcher.ReplacedTransaction.Supervisor, disabled?: true - config :indexer, Indexer.Tracer, service: :indexer, adapter: SpandexDatadog.Adapter, diff --git a/config/runtime.exs b/config/runtime.exs index b4bfedcc9a..671cfcd0a0 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -709,6 +709,9 @@ config :indexer, Indexer.Block.Realtime.Supervisor, config :indexer, Indexer.Block.Catchup.Supervisor, enabled: !ConfigHelper.parse_bool_env_var("DISABLE_CATCHUP_INDEXER") +config :indexer, Indexer.Fetcher.ReplacedTransaction.Supervisor, + disabled?: ConfigHelper.parse_bool_env_var("INDEXER_DISABLE_REPLACED_TRANSACTION_FETCHER") + config :indexer, Indexer.Fetcher.TokenInstance.Realtime.Supervisor, disabled?: ConfigHelper.parse_bool_env_var("INDEXER_DISABLE_TOKEN_INSTANCE_REALTIME_FETCHER") diff --git a/docker-compose/envs/common-blockscout.env b/docker-compose/envs/common-blockscout.env index 709233596e..1d7d0f2509 100644 --- a/docker-compose/envs/common-blockscout.env +++ b/docker-compose/envs/common-blockscout.env @@ -156,6 +156,7 @@ INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER=false # INDEXER_DISABLE_BLOCK_REWARD_FETCHER= # INDEXER_DISABLE_EMPTY_BLOCKS_SANITIZER= # INDEXER_DISABLE_WITHDRAWALS_FETCHER= +# INDEXER_DISABLE_REPLACED_TRANSACTION_FETCHER= # INDEXER_CATCHUP_BLOCKS_BATCH_SIZE= # INDEXER_CATCHUP_BLOCKS_CONCURRENCY= # INDEXER_CATCHUP_BLOCK_INTERVAL=