Current section
Files
Jump to
Current section
Files
lib/application.ex
defmodule Bench.Application do
use Application
use N2O
def start(_, _) do
x = Supervisor.start_link([], strategy: :one_for_one, name: :bench) |> IO.inspect(label: "Supervisor")
initialize()
x
end
def initialize() do
:n2o_pi.start(pi(module: Connection,
table: :caching,
sup: :bench,
state: [],
name: "Bench")) |> IO.inspect()
end
end