Flush to DB less often. Fix comment.

This commit is contained in:
Marcus Scholz 2023-06-25 23:04:30 +02:00
parent 4d2c5b0cba
commit 84bea6cc2b
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
db_url: !secret ha_recorder_dburl
# Commit to db only every X seconds
commit_interval: 10
# Delete events and states older than 2 weeks
commit_interval: 60
# Delete events and states older than 1 week
auto_purge: true
purge_keep_days: 7
# include: