Merge pull request #1171 from FarmBot/express
Increase farmware time limit to 60s from 30spull/1173/head
commit
ab09e31a0e
|
@ -4,7 +4,7 @@ defmodule FarmbotOS.SysCalls.Farmware do
|
|||
require FarmbotCore.Logger
|
||||
alias FarmbotCore.{Asset, AssetSupervisor, FarmwareRuntime}
|
||||
alias FarmbotExt.API.ImageUploader
|
||||
@farmware_timeout 30_000
|
||||
@farmware_timeout 60_000
|
||||
|
||||
def update_farmware(farmware_name) do
|
||||
with {:ok, installation} <- lookup_installation(farmware_name) do
|
||||
|
|
|
@ -9,7 +9,7 @@ defmodule FarmbotOS.SysCalls.FarmwareTest do
|
|||
|
||||
expect(FarmbotCore.LogExecutor, :execute, fn log ->
|
||||
expected =
|
||||
"Farmware did not exit after 30.0 seconds. Terminating :FAKE_PID"
|
||||
"Farmware did not exit after 60.0 seconds. Terminating :FAKE_PID"
|
||||
|
||||
assert log.message == expected
|
||||
:ok
|
||||
|
|
Loading…
Reference in New Issue