Set realtime interval to 5 seconds

pull/361/head
Igor Florian 6 years ago
parent bd18c661a1
commit 08ba537fe2
  1. 2
      apps/indexer/lib/indexer/block_fetcher.ex

@ -73,7 +73,7 @@ defmodule Indexer.BlockFetcher do
state = %{
genesis_task: nil,
realtime_task: nil,
realtime_interval: (opts[:block_rate] || @block_rate) * 2,
realtime_interval: opts[:block_rate] || @block_rate,
starting_block_number: nil,
blocks_batch_size: Keyword.get(opts, :blocks_batch_size, @blocks_batch_size),
blocks_concurrency: Keyword.get(opts, :blocks_concurrency, @blocks_concurrency),

Loading…
Cancel
Save