Set timeout: :infinity for denaromalization migration

v6.0.0-dev
Qwerty5Uiop 11 months ago committed by Viktor Baranov
parent 62eb8da2d3
commit e52c187ff3
  1. 2
      apps/explorer/lib/explorer/migrator/transactions_denormalization.ex

@ -65,7 +65,7 @@ defmodule Explorer.Migrator.TransactionsDenormalization do
unprocessed_transactions_query() unprocessed_transactions_query()
|> select([t], t.hash) |> select([t], t.hash)
|> limit(^limit) |> limit(^limit)
|> Repo.all() |> Repo.all(timeout: :infinity)
end end
defp unprocessed_transactions_query do defp unprocessed_transactions_query do

Loading…
Cancel
Save