v10.0.0-rc28 - Add Process.sleep, lower DirtyWorker polling interval

pull/1200/head
Rick Carlino 2020-05-14 17:22:25 -05:00
parent b9fca35731
commit ee517b2f9b
3 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
10.0.0-rc27
10.0.0-rc28

View File

@ -6,7 +6,8 @@ defmodule FarmbotCeleryScript.Compiler.UpdateResource do
me = unquote(__MODULE__)
variable = unquote(Map.fetch!(args, :resource))
update = unquote(unpair(body, %{}))
# Go easy on the API...
Process.sleep(1234)
case variable do
%AST{kind: :identifier} ->
args = Map.fetch!(variable, :args)

View File

@ -7,7 +7,7 @@ defmodule FarmbotExt.API.DirtyWorker do
require Logger
use GenServer
@timeout 10000
@timeout 4700
# these resources can't be accessed by `id`.
@singular [