From 5c8eee6fae463bbb4b84c89ab6bbbbf85294c9a2 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Thu, 31 Oct 2019 10:14:42 +0300 Subject: [PATCH] set infinite timeout for total_transactions_sent_by_address --- apps/explorer/lib/explorer/chain.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index 5b3cfc2928..278317b8e7 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -211,7 +211,7 @@ defmodule Explorer.Chain do last_nonce = address_hash |> Transaction.last_nonce_by_address_query() - |> Repo.one() + |> Repo.one(timeout: :infinity) case last_nonce do nil -> 0