pull/2566/head
Ayrat Badykov 5 years ago
parent 8b5cc7bb73
commit 8ae4083e10
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/block_scout_web/config/config.exs
  2. 1
      apps/block_scout_web/lib/block_scout_web/application.ex

@ -42,7 +42,7 @@ config :block_scout_web, BlockScoutWeb.Endpoint,
path: System.get_env("NETWORK_PATH") || "/"
],
render_errors: [view: BlockScoutWeb.ErrorView, accepts: ~w(html json)],
pubsub: [name: BlockScoutWeb.PubSub, adapter: Phoenix.PubSub.PG2]
pubsub: [name: BlockScoutWeb.PubSub]
config :block_scout_web, BlockScoutWeb.Tracer,
service: :block_scout_web,

@ -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},

Loading…
Cancel
Save