adding :ets to keep track of current value

This commit is contained in:
Thelonius Kort
2020-08-10 18:39:04 +02:00
parent f47f6150cb
commit a26afef638
4 changed files with 72 additions and 15 deletions

View File

@ -14,9 +14,10 @@ defmodule Clip.Application do
# Start the PubSub system
{Phoenix.PubSub, name: Clip.PubSub},
# Start the Endpoint (http/https)
ClipWeb.Endpoint
ClipWeb.Endpoint,
# Start a worker by calling: Clip.Worker.start_link(arg)
# {Clip.Worker, arg}
Clip.Currents
]
# See https://hexdocs.pm/elixir/Supervisor.html