|
|
|
@ -8,6 +8,7 @@ defmodule Explorer.Application do |
|
|
|
|
alias Explorer.Admin |
|
|
|
|
alias Explorer.Chain.BlockNumberCache |
|
|
|
|
alias Explorer.Repo.PrometheusLogger |
|
|
|
|
alias Explorer.Chain.TransactionCountCache |
|
|
|
|
|
|
|
|
|
@impl Application |
|
|
|
|
def start(_type, _args) do |
|
|
|
@ -27,7 +28,8 @@ defmodule Explorer.Application do |
|
|
|
|
Supervisor.child_spec({Task.Supervisor, name: Explorer.MarketTaskSupervisor}, id: Explorer.MarketTaskSupervisor), |
|
|
|
|
Supervisor.child_spec({Task.Supervisor, name: Explorer.TaskSupervisor}, id: Explorer.TaskSupervisor), |
|
|
|
|
{Registry, keys: :duplicate, name: Registry.ChainEvents, id: Registry.ChainEvents}, |
|
|
|
|
{Admin.Recovery, [[], [name: Admin.Recovery]]} |
|
|
|
|
{Admin.Recovery, [[], [name: Admin.Recovery]]}, |
|
|
|
|
{TransactionCountCache, [[], []]} |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
children = base_children ++ configurable_children() |
|
|
|
|