Skip to content

Commit

Permalink
10 sec limit for verified contract twin query
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaranov committed Mar 26, 2021
1 parent 0da29a0 commit 7d75236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/explorer/lib/explorer/chain.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3473,7 +3473,7 @@ defmodule Explorer.Chain do

verified_contract_twin =
verified_contract_twin_query
|> Repo.one()
|> Repo.one(timeout: 10_000)

%{
:verified_contract => verified_contract_twin
Expand Down

0 comments on commit 7d75236

Please sign in to comment.