Skip to content
This repository has been archived by the owner on Feb 24, 2025. It is now read-only.

Commit

Permalink
Fix Celo Epoch Data fetcher (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
shazarre authored Aug 23, 2022
1 parent 38223c0 commit e338f75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/indexer/lib/indexer/fetcher/celo_epoch_data.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ defmodule Indexer.Fetcher.CeloEpochData do
init_options_with_polling =
init_options
|> Keyword.put(:poll, true)
|> Keyword.put(:poll_interval, :timer.minutes(60))
|> Keyword.put(:max_batch_size, 10)
|> Keyword.put(:poll_interval, :timer.minutes(5))
# We have just one such block a day and it's quite a heavy operation
|> Keyword.put(:max_batch_size, 1)

Util.default_child_spec(init_options_with_polling, gen_server_options, __MODULE__)
end
Expand Down

0 comments on commit e338f75

Please sign in to comment.