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 GitHub
parent 0a524833e3
commit fb55933b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -2032,7 +2032,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,