Increase HTTP timeout to 10min for prod env as well

pull/1543/head
Paul Tsupikoff 6 years ago
parent 7f43ad5850
commit 3c338e193e
No known key found for this signature in database
GPG Key ID: DF5159A3A5F09D21
  1. 2
      apps/indexer/config/prod/parity.exs

@ -12,7 +12,7 @@ config :indexer,
trace_block: System.get_env("ETHEREUM_JSONRPC_TRACE_URL"), trace_block: System.get_env("ETHEREUM_JSONRPC_TRACE_URL"),
trace_replayTransaction: System.get_env("ETHEREUM_JSONRPC_TRACE_URL") trace_replayTransaction: System.get_env("ETHEREUM_JSONRPC_TRACE_URL")
], ],
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.Parity variant: EthereumJSONRPC.Parity
], ],

Loading…
Cancel
Save