     maybe_farm_event_log("Reindexed FarmEvents")
 
     if match?({_, _}, state.checkup) do
-      Process.exit(state.checkup |> elem(0), {:success, %{state | events: events}})
+      Process.exit(
+        state.checkup |> elem(0),
+        {:success, %{state | events: events}}
+      )
     end
 
     if state.timer do

    # update state.
    new_state = %{
      state
      | last_time_index: Map.put(state.last_time_index, farm_event.id, last_time)
    }

    case new_late_executable do


      # if there is a new event, accumulate it.
      late_executable ->
        do_checkup(
          rest,
          now,
          [{late_executable, farm_event} | late_exes],
          new_state
        )
    end
  end

