diff --git a/VERSION b/VERSION index ea2158f0..4fba3138 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.0.0-rc27 +10.0.0-rc28 diff --git a/farmbot_celery_script/lib/farmbot_celery_script/compilers/update_resource_compiler.ex b/farmbot_celery_script/lib/farmbot_celery_script/compilers/update_resource_compiler.ex index 8e78ca5b..a68b2ff4 100644 --- a/farmbot_celery_script/lib/farmbot_celery_script/compilers/update_resource_compiler.ex +++ b/farmbot_celery_script/lib/farmbot_celery_script/compilers/update_resource_compiler.ex @@ -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) diff --git a/farmbot_ext/lib/farmbot_ext/api/dirty_worker.ex b/farmbot_ext/lib/farmbot_ext/api/dirty_worker.ex index 15b7182b..4fd4dbd0 100644 --- a/farmbot_ext/lib/farmbot_ext/api/dirty_worker.ex +++ b/farmbot_ext/lib/farmbot_ext/api/dirty_worker.ex @@ -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 [