Increase timeout for geth indexers

pull/2055/head
Victor Baranov 6 years ago
parent 608485ff25
commit 6a6a10ecb2
  1. 2
      apps/indexer/config/prod/geth.exs

@ -7,7 +7,7 @@ config :indexer,
transport_options: [
http: EthereumJSONRPC.HTTP.HTTPoison,
url: System.get_env("ETHEREUM_JSONRPC_HTTP_URL") || "https://mainnet.infura.io/8lTvJTKmHPCHazkneJsY",
http_options: [recv_timeout: :timer.minutes(1), timeout: :timer.minutes(1), hackney: [pool: :ethereum_jsonrpc]]
http_options: [recv_timeout: :timer.minutes(10), timeout: :timer.minutes(10), hackney: [pool: :ethereum_jsonrpc]]
],
variant: EthereumJSONRPC.Geth
],

Loading…
Cancel
Save