Fix timeouts
This commit is contained in:
parent
33bf0f2810
commit
6c7c038e4c
|
@ -346,7 +346,7 @@ defmodule Farmbot.BotState do
|
|||
end
|
||||
|
||||
defp do_handle([{:config, "settings", "auto_sync" = key, true = val} | rest], state) do
|
||||
Farmbot.Repo.flip()
|
||||
spawn Farmbot.Repo, :flip, []
|
||||
new_config = Map.put(state.configuration, key, val)
|
||||
new_state = %{state | configuration: new_config}
|
||||
do_handle(rest, new_state)
|
||||
|
|
Loading…
Reference in a new issue