Skip to content

Commit

Permalink
Fix incorrect storage usage per camera (#16825) (#16851)
Browse files Browse the repository at this point in the history
  • Loading branch information
toperichvania authored Feb 27, 2025
1 parent 4f855f8 commit 2b7b5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/record/maintainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ async def move_segment(
# get the segment size of the cache file
# file without faststart is same size
segment_size = round(
float(os.path.getsize(cache_path)) / pow(2, 20), 1
float(os.path.getsize(cache_path)) / pow(2, 20), 2
)
except OSError:
segment_size = 0
Expand Down

0 comments on commit 2b7b5e3

Please sign in to comment.