blakeblackshear.frigate/docs
Nicolas Mowen b4d4adb75b
Limit recording retention to available storage (#3942)
* Add field and migration for segment size

* Store the segment size in db

* Add comment

* Add default

* Fix size parsing

* Include segment size in recordings endpoint

* Start adding storage maintainer

* Add storage maintainer and calculate average sizes

* Update comment

* Store segment and hour avg sizes per camera

* Formatting

* Keep track of total segment and hour averages

* Remove unused files

* Cleanup 2 hours of recordings at a time

* Formatting

* Fix bug

* Round segment size

* Cleanup some comments

* Handle case where segments are not deleted on initial run or is only retained segments

* Improve cleanup log

* Formatting

* Fix typo and improve logging

* Catch case where no recordings exist for camera

* Specifically define sort

* Handle edge case for cameras that only record part time

* Increase definition of part time recorder

* Remove warning about not supported storage based retention

* Add note about storage based retention to recording docs

* Add tests for storage maintenance calculation and cleanup

* Format tests

* Don't run for a camera with no recording segments

* Get size of file from cache

* Rework camera stats to be more efficient

* Remove total and other inefficencies

* Rewrite storage cleanup logic to be much more efficient

* Fix existing tests

* Fix bugs from tests

* Add another test

* Improve logging

* Formatting

* Set back correct loop time

* Update name

* Update comment

* Only include segments that have a nonzero size

* Catch case where camera has 0 nonzero segment durations

* Add test to cover zero bandwidth migration case

* Fix test

* Incorrect boolean logic

* Formatting

* Explicity re-define iterator
2022-10-09 06:28:26 -05:00
..
docs Limit recording retention to available storage (#3942) 2022-10-09 06:28:26 -05:00
plugins docs: include available objects in documentation 2021-03-09 06:23:37 -06:00
src/css docs: move docs to docusaurus 2021-01-26 21:40:33 -06:00
static update latest recommendations for reolink 2021-10-04 07:18:53 -05:00
.gitignore docs: move docs to docusaurus 2021-01-26 21:40:33 -06:00
babel.config.js docs: move docs to docusaurus 2021-01-26 21:40:33 -06:00
docusaurus.config.js add links in docs to other sites 2021-10-23 09:41:32 -05:00
package-lock.json update docusaurus 2022-05-12 06:29:43 -05:00
package.json update docusaurus 2022-05-12 06:29:43 -05:00
README.md docs: add contributing docs 2021-02-23 07:37:19 -06:00
sidebars.js Merge remote-tracking branch 'origin/master' into release-0.11.0 2022-08-25 07:40:26 -05:00

Website

This website is built using Docusaurus 2, a modern static website generator.

For installation and contributing instructions, please follow the Contributing Docs.