zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

application.ex (408B)


      1 defmodule Ecto.Adapters.SQL.Application do
      2   @moduledoc false
      3   use Application
      4 
      5   def start(_type, _args) do
      6     children = [
      7       {DynamicSupervisor, strategy: :one_for_one, name: Ecto.MigratorSupervisor},
      8       {Task.Supervisor, name: Ecto.Adapters.SQL.StorageSupervisor},
      9     ]
     10 
     11     opts = [strategy: :one_for_one, name: Ecto.Adapters.SQL.Supervisor]
     12     Supervisor.start_link(children, opts)
     13   end
     14 end