Permalink
Browse files

Update changelog and make progress logs less frequent

  • Loading branch information...
ConnorRigby committed Nov 28, 2018
1 parent d7988d2 commit 09416c6f62b34d71d34c4aa2d9abfb56cd9234db
Showing with 3 additions and 2 deletions.
  1. +2 −1 CHANGELOG.md
  2. +1 −1 platform/target/nerves_hub_client.ex
@@ -4,7 +4,8 @@
* Add retry mechanism for fetching a token.
* Farmbot will now try 5 times to fetch a token.
* Fix bug causing static ip settings not to work.
* enable `multi_time_warp` which should hopefully compensate for time skew.
* Enable `multi_time_warp` which should hopefully compensate for time skew.
* Migrate OTA system to NervesHub

# 6.4.11
* Add SSH back.
@@ -76,7 +76,7 @@ defmodule Farmbot.System.NervesHubClient do
GenServer.call(__MODULE__, {:update_available, args}, :infinity)
end

def handle_fwup_message({:progress, percent}) do
def handle_fwup_message({:progress, percent}) when rem(percent, 5) == 0 do
Logger.info("FWUP Stream Progress: #{percent}%")
alias Farmbot.BotState.JobProgress
prog = %JobProgress.Percent{percent: percent}

0 comments on commit 09416c6

Please sign in to comment.