Skip to content

Commit

Permalink
SRHUB 452 - No watchdog
Browse files Browse the repository at this point in the history
  • Loading branch information
jfcloutier committed Dec 6, 2021
1 parent 02cba71 commit 6e298f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 99 deletions.
6 changes: 2 additions & 4 deletions lib/jackalope/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Jackalope.Supervisor do

use Supervisor
require Logger
alias Jackalope.{TortoiseClient, Watchdog}
alias Jackalope.TortoiseClient

@type init_arg ::
{:app_handler, module()} | {:client_id, atom()} | {:connection_options, Keyword.t()}
Expand All @@ -21,9 +21,7 @@ defmodule Jackalope.Supervisor do
# The Tortoise311 connection supervisor
{DynamicSupervisor, strategy: :one_for_one, name: ConnectionSupervisor},
# The Tortoise311 client
{TortoiseClient, init_args},
# The Tortoise311 Connection watchdog - crashes if Tortoise311 has become unresponsive
{Watchdog, init_args}
{TortoiseClient, init_args}
]

# One goes, everyone goes
Expand Down
95 changes: 0 additions & 95 deletions lib/jackalope/watchdog.ex

This file was deleted.

0 comments on commit 6e298f1

Please sign in to comment.