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