add PendingOpsCleaner to Supervision tree

pull/2913/head
Ayrat Badykov 5 years ago
parent 767d8c9999
commit 40ad32eb72
  1. 5
      apps/indexer/lib/indexer/supervisor.ex

@ -5,7 +5,7 @@ defmodule Indexer.Supervisor do
use Supervisor use Supervisor
alias Indexer.Block alias Indexer.{Block, PendingOpsCleaner}
alias Indexer.Block.{Catchup, Realtime} alias Indexer.Block.{Catchup, Realtime}
alias Indexer.Fetcher.{ alias Indexer.Fetcher.{
@ -129,7 +129,8 @@ defmodule Indexer.Supervisor do
{UnclesWithoutIndex.Supervisor, {UnclesWithoutIndex.Supervisor,
[[json_rpc_named_arguments: json_rpc_named_arguments, memory_monitor: memory_monitor]]}, [[json_rpc_named_arguments: json_rpc_named_arguments, memory_monitor: memory_monitor]]},
{BlocksTransactionsMismatch.Supervisor, {BlocksTransactionsMismatch.Supervisor,
[[json_rpc_named_arguments: json_rpc_named_arguments, memory_monitor: memory_monitor]]} [[json_rpc_named_arguments: json_rpc_named_arguments, memory_monitor: memory_monitor]]},
{PendingOpsCleaner, [[], []]}
], ],
strategy: :one_for_one strategy: :one_for_one
) )

Loading…
Cancel
Save