From 4f1efb97d7152fdeefc917ca985a82ff5878d4f8 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 15 Oct 2026 21:38:33 -0500 Subject: [PATCH] remove path data from thumbnail payloads The thumbnail data carried a full copy of the object's path, which went out as snapshot.path_data in every events message alongside the top level path_data. Nothing reads the snapshot copy, and the path has no length limit, so it only made events payloads larger. --- frigate/camera/state.py | 1 - frigate/track/tracked_object.py | 1 - 2 files changed, 2 deletions(-) diff --git a/frigate/camera/state.py b/frigate/camera/state.py index 764ef10f61..34461e9458 100644 --- a/frigate/camera/state.py +++ b/frigate/camera/state.py @@ -392,7 +392,6 @@ class CameraState: "attributes": new_obj.obj_data["attributes"], "current_estimated_speed": 0, "velocity_angle": 0, - "path_data": [], "recognized_license_plate": None, "recognized_license_plate_score": None, } diff --git a/frigate/track/tracked_object.py b/frigate/track/tracked_object.py index 24ae278ac8..9d0dd459fd 100644 --- a/frigate/track/tracked_object.py +++ b/frigate/track/tracked_object.py @@ -169,7 +169,6 @@ class TrackedObject: "attributes": obj_data["attributes"], "current_estimated_speed": self.current_estimated_speed, "velocity_angle": self.velocity_angle, - "path_data": self.path_data.copy(), "recognized_license_plate": obj_data.get( "recognized_license_plate" ),