Docs for recorder commit_interval (#12316)

This commit is contained in:
J. Nick Koston 2020-03-10 08:56:17 -05:00 committed by GitHub
parent e032223e8b
commit 9f16de6958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,11 @@ recorder:
required: false
default: 1
type: integer
commit_interval:
description: How often (in seconds) the events and state changes are committed to the database. The default of `1` allows events to be committed almost right away without trashing the disk when an event storm happens. Increasing this will reduce disk I/O and may prolong disk (SD card) lifetime with the trade-off being that the logbook and history will lag. If this is set to `0` (zero), commit are made as soon as possible after an event is processed.
required: false
default: 1
type: integer
exclude:
description: Configure which integrations should be excluded from recordings.
required: false