DISABLE_KNOWN_TOKENS env var

pull/3404/head
Victor Baranov 4 years ago
parent fc6d477043
commit 2d01ac51eb
  1. 1
      CHANGELOG.md
  2. 2
      apps/explorer/config/config.exs
  3. 3
      docker/Makefile

@ -36,6 +36,7 @@
- [#3335](https://github.com/poanetwork/blockscout/pull/3335) - MarketCap calculation: check that ETS tables exist before inserting new data or lookup from the table
### Chore
- [#3404](https://github.com/poanetwork/blockscout/pull/3404) - DISABLE_KNOWN_TOKENS env var
- [#3403](https://github.com/poanetwork/blockscout/pull/3403) - Refactor Coingecko interaction
- [#3394](https://github.com/poanetwork/blockscout/pull/3394) - Actualize docker vars list
- [#3372](https://github.com/poanetwork/blockscout/pull/3372), [#3380](https://github.com/poanetwork/blockscout/pull/3380) - Improve all lists header container

@ -125,7 +125,7 @@ config :explorer, Explorer.Counters.Bridge,
config :explorer, Explorer.ExchangeRates, enabled: System.get_env("DISABLE_EXCHANGE_RATES") != "true", store: :ets
config :explorer, Explorer.KnownTokens, enabled: true, store: :ets
config :explorer, Explorer.KnownTokens, enabled: System.get_env("DISABLE_KNOWN_TOKENS") != "true", store: :ets
config :explorer, Explorer.Integrations.EctoLogger, query_time_ms_threshold: :timer.seconds(2)

@ -269,6 +269,9 @@ endif
ifdef TOTAL_GAS_USAGE_CACHE_PERIOD
BLOCKSCOUT_CONTAINER_PARAMS += -e 'TOTAL_GAS_USAGE_CACHE_PERIOD=$(TOTAL_GAS_USAGE_CACHE_PERIOD)'
endif
ifdef DISABLE_KNOWN_TOKENS
BLOCKSCOUT_CONTAINER_PARAMS += -e 'DISABLE_KNOWN_TOKENS=$(DISABLE_KNOWN_TOKENS)'
endif
HAS_BLOCKSCOUT_IMAGE := $(shell docker images | grep ${DOCKER_IMAGE})
build:

Loading…
Cancel
Save