Files
core/tests/components
J. Nick Koston 3a680bf7b7 Add a commit interval setting to recorder (#32596)
* Add a commit interval setting to recorder

* Make the default every 1s instead of immediate

* See attached py-spy flamegraphs for why 1s

* This avoids disk thrashing during event storms

* Make Home Assistant significantly more responsive on busy systems

* remove debug

* Add commit forces for tests that expect commits to be immediate

* Add commit forces for tests that expect commits to be immediate

* make sure _trigger_db_commit is in the right place (all effective "wait_recording_done" calls)

* De-duplicate wait_recording_done code
2020-03-09 17:43:26 -07:00
..
2019-07-31 12:25:30 -07:00
2020-03-09 13:54:05 -07:00
2020-03-09 14:07:50 -07:00
2019-07-31 12:25:30 -07:00
2019-12-04 22:47:40 -08:00
2020-02-26 17:02:42 -08:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2020-02-06 11:32:30 +01:00
2019-04-14 16:59:06 -07:00
2019-12-31 13:05:31 +01:00
2019-07-31 12:25:30 -07:00
2020-01-03 14:47:06 +01:00
2020-02-20 08:51:00 -08:00
2020-02-20 08:11:27 -08:00
2020-01-14 13:03:02 -08:00
2020-02-08 13:10:59 +01:00
2019-07-31 12:25:30 -07:00
2019-12-31 14:34:53 +01:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2020-01-14 13:03:02 -08:00
2020-03-09 14:07:50 -07:00
2019-07-31 12:25:30 -07:00
2020-01-15 12:01:47 -08:00
2020-01-29 18:18:24 +01:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-12-04 22:47:40 -08:00
2019-12-04 22:47:40 -08:00
2020-01-14 13:03:02 -08:00
2020-02-17 08:44:36 -08:00
2020-02-25 16:37:41 -07:00
2020-01-03 21:34:20 +01:00
2019-08-30 16:41:07 -07:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2020-01-31 08:33:00 -08:00
2019-08-10 00:14:03 +02:00
2019-07-31 12:25:30 -07:00
2019-07-31 12:25:30 -07:00
2019-12-10 23:25:06 +01:00
2019-07-31 12:25:30 -07:00
2020-01-03 14:47:06 +01:00
2020-01-03 14:47:06 +01:00