|
|
@ -49,6 +49,7 @@ config :ethereumex, |
|
|
|
config :explorer, Explorer.Scheduler, |
|
|
|
config :explorer, Explorer.Scheduler, |
|
|
|
jobs: [ |
|
|
|
jobs: [ |
|
|
|
[schedule: {:extended, "* * * * * *"}, task: {Explorer.Workers.ImportBlock, :perform_later, ["latest"]}], |
|
|
|
[schedule: {:extended, "* * * * * *"}, task: {Explorer.Workers.ImportBlock, :perform_later, ["latest"]}], |
|
|
|
|
|
|
|
[schedule: {:extended, "* * * * * *"}, task: {Explorer.Workers.ImportBlock, :perform_later, ["pending"]}], |
|
|
|
[schedule: {:extended, "*/15 * * * * *"}, task: {Explorer.Workers.ImportSkippedBlocks, :perform_later, [String.to_integer(System.get_env("EXPLORER_BACKFILL_CONCURRENCY") || "1")]}], |
|
|
|
[schedule: {:extended, "*/15 * * * * *"}, task: {Explorer.Workers.ImportSkippedBlocks, :perform_later, [String.to_integer(System.get_env("EXPLORER_BACKFILL_CONCURRENCY") || "1")]}], |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|