fix typos

parent 78e80508
......@@ -11,16 +11,16 @@ defmodule Grengine.Conductor do
{:ok, state}
end
defp tick, do: Process.send_after(self(), :tick, state)
defp tick, do: Process.send_after(self(), :tick, 1000)
def handle_info(:tick, state) do
Logger.info("handle tick")
get_performances
|> Enum.each fn perf ->
get_performances()
|> Enum.each( fn perf ->
do_performance(perf)
end
end)
tick()
{:noreply, state)
{:noreply, state}
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment