diff --git a/apps/indexer/lib/indexer/replaced_transaction/fetcher.ex b/apps/indexer/lib/indexer/replaced_transaction/fetcher.ex index 9e9f4b4fcb..4a0b8f433c 100644 --- a/apps/indexer/lib/indexer/replaced_transaction/fetcher.ex +++ b/apps/indexer/lib/indexer/replaced_transaction/fetcher.ex @@ -16,8 +16,8 @@ defmodule Indexer.ReplacedTransaction.Fetcher do alias Explorer.Repo alias Indexer.ReplacedTransaction - # 30 minutes - @default_interval 60_000 * 30 + # 1 second + @default_interval 1_000 # 60 seconds @query_timeout 60_000 @@ -53,7 +53,7 @@ defmodule Indexer.ReplacedTransaction.Fetcher do state = %__MODULE__{ - interval: opts[:pending_transaction_interval] || @default_interval + interval: opts[:replaced_transaction_interval] || @default_interval } |> schedule_find()