mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Reduce chance of queue overflow during schema migration (#87090)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
0a524833e3
commit
fb55933b0a
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user