zf

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

application.ex (446B)


      1 defmodule Plug.Application do
      2   @moduledoc false
      3   use Application
      4 
      5   def start(_, _) do
      6     # While Plug.Crypto provides its own cache, Plug ship its own too,
      7     # both to keep storages separate and for backwards compatibility.
      8     Plug.Keys = :ets.new(Plug.Keys, [:named_table, :public, read_concurrency: true])
      9 
     10     children = [
     11       Plug.Upload
     12     ]
     13 
     14     Supervisor.start_link(children, name: __MODULE__, strategy: :one_for_one)
     15   end
     16 end