diff --git a/lib/explorer/credit.ex b/lib/explorer/credit.ex index 56a51d2fcf..3e28fffadd 100644 --- a/lib/explorer/credit.ex +++ b/lib/explorer/credit.ex @@ -21,6 +21,6 @@ defmodule Explorer.Credit do end def refresh do - SQL.query!(Repo, "REFRESH MATERIALIZED VIEW CONCURRENTLY credits;", []) + SQL.query!(Repo, "REFRESH MATERIALIZED VIEW CONCURRENTLY credits;", [], timeout: 120_000) end end diff --git a/lib/explorer/debit.ex b/lib/explorer/debit.ex index 893ab34fde..dcccfcc3d2 100644 --- a/lib/explorer/debit.ex +++ b/lib/explorer/debit.ex @@ -21,6 +21,6 @@ defmodule Explorer.Debit do end def refresh do - SQL.query!(Repo, "REFRESH MATERIALIZED VIEW CONCURRENTLY debits;", []) + SQL.query!(Repo, "REFRESH MATERIALIZED VIEW CONCURRENTLY debits;", [], timeout: 120_000) end end