mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Improve purge performance for non-sqlite databases (#70576)
This commit is contained in:
@@ -1395,7 +1395,7 @@ async def test_database_connection_keep_alive(
|
||||
):
|
||||
"""Test we keep alive socket based dialects."""
|
||||
with patch(
|
||||
"homeassistant.components.recorder.Recorder._using_sqlite", return_value=False
|
||||
"homeassistant.components.recorder.Recorder.using_sqlite", return_value=False
|
||||
):
|
||||
instance = await async_setup_recorder_instance(hass)
|
||||
# We have to mock this since we don't have a mock
|
||||
|
||||
Reference in New Issue
Block a user