Packages

A precision fault-injection tool for Elixir/OTP designed to simulate Grey Failures (Process Suspension).

Current section

Files

Jump to
entropy lib entropy application.ex
Raw

lib/entropy/application.ex

defmodule Entropy.Application do
@moduledoc """
Responsible for wiring the Entropy supervision tree.
"""
use Application
@impl true
def start(_type, _args) do
children = [Entropy.Supervisor]
opts = [strategy: :one_for_one, name: Entropy.ApplicationSupervisor]
Supervisor.start_link(children, opts)
end
end