use seconds

pull/1706/head
Ayrat Badykov 6 years ago
parent 6d21e8529e
commit 02f3d922fe
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/explorer/config/config.exs

@ -16,7 +16,7 @@ config :explorer, Explorer.Counters.AverageBlockTime, enabled: true
balances_update_interval =
if System.get_env("ADDRESS_WITH_BALANCES_UPDATE_INTERVAL") do
case Integer.parse(System.get_env("ADDRESS_WITH_BALANCES_UPDATE_INTERVAL")) do
{integer, ""} -> integer * 1_000
{integer, ""} -> integer
_ -> nil
end
end

Loading…
Cancel
Save