feat: Add INDEXER_DISABLE_REPLACED_TRANSACTION_FETCHER env (#10485)

* feat: Add INDEXER_DISABLE_REPLACED_TRANSACTION_FETCHER env

* Add new env to envs/common-blockscout.env
pull/10487/head
nikitosing 4 months ago committed by GitHub
parent 709b0e6730
commit f5515b5cfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/indexer/config/config.exs
  2. 3
      config/runtime.exs
  3. 1
      docker-compose/envs/common-blockscout.env

@ -5,8 +5,6 @@ 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,

@ -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.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, config :indexer, Indexer.Fetcher.TokenInstance.Realtime.Supervisor,
disabled?: ConfigHelper.parse_bool_env_var("INDEXER_DISABLE_TOKEN_INSTANCE_REALTIME_FETCHER") disabled?: ConfigHelper.parse_bool_env_var("INDEXER_DISABLE_TOKEN_INSTANCE_REALTIME_FETCHER")

@ -156,6 +156,7 @@ INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER=false
# INDEXER_DISABLE_BLOCK_REWARD_FETCHER= # INDEXER_DISABLE_BLOCK_REWARD_FETCHER=
# INDEXER_DISABLE_EMPTY_BLOCKS_SANITIZER= # INDEXER_DISABLE_EMPTY_BLOCKS_SANITIZER=
# INDEXER_DISABLE_WITHDRAWALS_FETCHER= # INDEXER_DISABLE_WITHDRAWALS_FETCHER=
# INDEXER_DISABLE_REPLACED_TRANSACTION_FETCHER=
# INDEXER_CATCHUP_BLOCKS_BATCH_SIZE= # INDEXER_CATCHUP_BLOCKS_BATCH_SIZE=
# INDEXER_CATCHUP_BLOCKS_CONCURRENCY= # INDEXER_CATCHUP_BLOCKS_CONCURRENCY=
# INDEXER_CATCHUP_BLOCK_INTERVAL= # INDEXER_CATCHUP_BLOCK_INTERVAL=

Loading…
Cancel
Save