fixup! fixup! fix: poll on import completion and only new blocks

pull/1338/head
zachdaniel 6 years ago
parent e3c4703a99
commit 6bfc9cf4a6
  1. 12
      apps/indexer/lib/indexer/block/realtime/fetcher.ex

@ -88,12 +88,12 @@ defmodule Indexer.Block.Realtime.Fetcher do
new_timer = schedule_polling()
{:noreply,
%{
state
| previous_number: number,
max_number_seen: new_max_number,
timer: new_timer
}}
%{
state
| previous_number: number,
max_number_seen: new_max_number,
timer: new_timer
}}
end
@impl GenServer

Loading…
Cancel
Save