|
|
@ -18,6 +18,7 @@ defmodule BlockScoutWeb.Application do |
|
|
|
# Define workers and child supervisors to be supervised |
|
|
|
# Define workers and child supervisors to be supervised |
|
|
|
children = [ |
|
|
|
children = [ |
|
|
|
# Start the endpoint when the application starts |
|
|
|
# Start the endpoint when the application starts |
|
|
|
|
|
|
|
{Phoenix.PubSub.PG2, name: BlockScoutWeb.PubSub, fastlane: Phoenix.Channel.Server}, |
|
|
|
supervisor(Endpoint, []), |
|
|
|
supervisor(Endpoint, []), |
|
|
|
supervisor(Absinthe.Subscription, [Endpoint]), |
|
|
|
supervisor(Absinthe.Subscription, [Endpoint]), |
|
|
|
{RealtimeEventHandler, name: RealtimeEventHandler}, |
|
|
|
{RealtimeEventHandler, name: RealtimeEventHandler}, |
|
|
|