From 4c84824ac8adcd4b36a7621bff031fdd57fc686f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 21 Jan 2023 18:09:00 -1000 Subject: [PATCH] Increase default recorder commit interval to 5 seconds (#86115) --- homeassistant/components/recorder/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 3e1e8264642..71795bfa664 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -43,7 +43,7 @@ DEFAULT_DB_FILE = "home-assistant_v2.db" DEFAULT_DB_INTEGRITY_CHECK = True DEFAULT_DB_MAX_RETRIES = 10 DEFAULT_DB_RETRY_WAIT = 3 -DEFAULT_COMMIT_INTERVAL = 1 +DEFAULT_COMMIT_INTERVAL = 5 CONF_AUTO_PURGE = "auto_purge" CONF_AUTO_REPACK = "auto_repack"