Reduce chance of queue overflow during schema migration (#87090)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
J. Nick Koston 2023-02-01 11:34:40 -06:00 committed by Franck Nijhof
parent fe541583a8
commit a678eee31b
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ EVENT_RECORDER_HOURLY_STATISTICS_GENERATED = "recorder_hourly_statistics_generat
CONF_DB_INTEGRITY_CHECK = "db_integrity_check"
MAX_QUEUE_BACKLOG = 40000
MAX_QUEUE_BACKLOG = 65000
# The maximum number of rows (events) we purge in one delete statement

View File

@ -2033,7 +2033,7 @@ async def test_recorder_info(recorder_mock, hass, hass_ws_client):
assert response["success"]
assert response["result"] == {
"backlog": 0,
"max_backlog": 40000,
"max_backlog": 65000,
"migration_in_progress": False,
"migration_is_live": False,
"recording": True,