Set realtime interval to 5 seconds

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

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

Loading…
Cancel
Save