 
   def handle_call(:flip, _, %{repos: [repo_a, repo_b]} = state) do
     maybe_cancel_timer(state.timer)
-    Logger.busy(3, "Syncing")
     Farmbot.FarmEvent.Manager.wait_for_sync()
+    Logger.busy(1, "Syncing")
     BotState.set_sync_status(:syncing)
 
     # Fetch all sync_cmds and apply them in order they were received.

    BotState.set_sync_status(:synced)
    copy_configs(repo_b)
    destroy_all_sync_cmds()
    Logger.success(3, "Sync complete.")
    Farmbot.FarmEvent.Manager.resume()
    {:reply, repo_b, %{state | repos: [repo_b, repo_a], timer: start_timer()}}
  end


    mod = Module.concat(["Farmbot", "Repo", kind])
    # an object was deleted.
    if Code.ensure_loaded?(mod) do
      Logger.busy(3, "Applying sync_cmd (#{mod}: delete)")

      case repo.get(mod, id) do
        nil ->
