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:
parent
2d5b31d61e
commit
666635f40f
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue