Merge pull request #1171 from FarmBot/express

Increase farmware time limit to 60s from 30s
pull/1173/head
Rick Carlino 2020-03-13 08:19:25 -05:00 committed by GitHub
commit ab09e31a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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