1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-06-08 02:16:36 +00:00

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 receive do
after after
90_000 -> 90_000 ->
if(Status.value() == :waiting) do if(Status.value() == :wait) do
run() run()
end end

View file

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