Fix size call.

This commit is contained in:
Dermot Duffy
2023-04-05 18:25:53 -07:00
parent 4d47b6ea73
commit 1734e5ae69
4 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -990,7 +990,7 @@ export class FrigateCameraManagerEngine
const countSegments = () =>
sum(
cameraIDs.map(
(cameraID) => this._recordingSegmentsCache.getCache(cameraID)?.size() ?? 0,
(cameraID) => this._recordingSegmentsCache.getSize(cameraID) ?? 0,
),
);
const segmentsStart = countSegments();