Reduce the size of the Nest event media storage cache (#128855)
Reduce max media items per nest devicepull/128883/head
parent
1f9c06e606
commit
94534f714c
|
@ -103,10 +103,10 @@ CONFIG_SCHEMA = vol.Schema(
|
|||
PLATFORMS = [Platform.CAMERA, Platform.CLIMATE, Platform.EVENT, Platform.SENSOR]
|
||||
|
||||
# Fetch media events with a disk backed cache, with a limit for each camera
|
||||
# device. The largest media items are mp4 clips at ~120kb each, and we target
|
||||
# device. The largest media items are mp4 clips at ~450kb each, and we target
|
||||
# ~125MB of storage per camera to try to balance a reasonable user experience
|
||||
# for event history not not filling the disk.
|
||||
EVENT_MEDIA_CACHE_SIZE = 1024 # number of events
|
||||
EVENT_MEDIA_CACHE_SIZE = 256 # number of events
|
||||
|
||||
THUMBNAIL_SIZE_PX = 175
|
||||
|
||||
|
|
Loading…
Reference in New Issue