fix poll check

This commit is contained in:
mithereal 2022-08-02 10:40:13 -07:00
parent 2d5b31d61e
commit 666635f40f
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ defmodule Farside.Instance.Check do
receive do
after
90_000 ->
if(Status.value() == :waiting) do
if(Status.value() == :wait) do
run()
end

View File

@ -60,7 +60,7 @@ defmodule Farside.Instance do
:update,
state
) do
Status.value(:checking)
Status.value(:test)
service = :ets.lookup(String.to_atom(state.type), :default)