From 3c338e193e51a98be8d534da965f39108eae8ef4 Mon Sep 17 00:00:00 2001 From: Paul Tsupikoff Date: Thu, 14 Mar 2019 14:07:37 +0200 Subject: [PATCH] Increase HTTP timeout to 10min for prod env as well --- apps/indexer/config/prod/parity.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/indexer/config/prod/parity.exs b/apps/indexer/config/prod/parity.exs index 8c12ff4485..36c5f25e8d 100644 --- a/apps/indexer/config/prod/parity.exs +++ b/apps/indexer/config/prod/parity.exs @@ -12,7 +12,7 @@ config :indexer, trace_block: 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 ],