Packages
mojito_fresha
0.7.13
Mojito client but with castore updated, forked from https://github.com/surgeventures/mojito
Current section
Files
Jump to
Current section
Files
lib/mojito/application.ex
defmodule Mojito.Application do
@moduledoc false
use Application
def start(_type, _args) do
children = [
Mojito.Pool.Poolboy.Manager,
{Registry,
keys: :duplicate,
name: Mojito.Pool.Poolboy.Registry,
partitions: System.schedulers_online()}
]
opts = [strategy: :one_for_one, name: Mojito.Supervisor]
Supervisor.start_link(children, opts)
end
end