Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Oops. Make Timer tick once a minute.
Browse files Browse the repository at this point in the history
instead of twice per second :P
  • Loading branch information
carloslima committed Nov 6, 2016
1 parent 67edbbc commit 029742f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alchemist-server/lib/self_destruct_timer.ex
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ defmodule SelfDestructTimer do
defp destroy, do: System.halt(42) defp destroy, do: System.halt(42)


defp schedule_tick do defp schedule_tick do
:timer.apply_after(500, __MODULE__, :tick, []) :timer.apply_after(60_000, __MODULE__, :tick, [])
:ok :ok
end end


Expand Down

0 comments on commit 029742f

Please sign in to comment.