J. Nick Koston
5038a035bd
Detect blocking module imports in the event loop ( #114488 )
2024-03-30 19:51:31 -10:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Erik Montnemery
863b948e7c
Correct calls to super class in RecorderPool ( #94923 )
2023-06-20 23:26:37 +02:00
J. Nick Koston
9b2e9b8746
Update typing on recorder pool for sqlalchemy 2.0 ( #91244 )
2023-04-13 00:09:15 +02:00
Erik Montnemery
94519de8dd
Upgrade SQLAlchemy to 2.0.2 ( #86436 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-08 08:17:32 -06:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Joakim Plate
987e77780a
Only run garbage collection per module ( #84681 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-01-02 09:31:12 -10:00
Franck Nijhof
f39f3b612a
String formatting and max line length - Part 5 ( #84501 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 16:43:17 +01:00
Marc Mueller
d78c2a31a1
Update pylint to 2.15.4 ( #80612 )
2022-10-20 08:59:06 +02:00
Marc Mueller
24bf42cfbe
Update pylint to 2.14.3 ( #73703 )
2022-06-19 16:29:57 +02:00
J. Nick Koston
f4a2afeb37
Guard against recorder pool current connection disappearing during global destruction ( #71971 )
2022-05-16 17:48:14 -05:00
J. Nick Koston
222baa53dd
Make database access in the eventloop raise an exception ( #71547 )
2022-05-09 15:22:08 -05:00
Marc Mueller
e407960f68
Update pylint to 2.13.5 ( #69989 )
2022-04-13 18:36:05 +02:00
Erik Montnemery
eb3458a3d2
Add MutexPool for recorder tests ( #69410 )
...
* Add MutexPool for recorder tests
* Fix get_schema_version
* Update test test_last_run_was_recently_clean
* Update test test_shutdown_before_startup_finishes
* Revert comments in test_write_lock_db
* Make the MutexPool lock a class variable
* Remove stale comment
* Move MutexPool
* Tweak debug prints
2022-04-12 07:41:46 -10:00
J. Nick Koston
d7634d1cb1
Additional strict typing for additional recorder internals ( #68689 )
...
* Strict typing for additional recorder internals
* revert
* fix refactoring error
2022-03-29 09:45:25 +02:00
J. Nick Koston
6ffef8373b
Add shutdown guard to Recorder pool in case there is no connection ( #68407 )
2022-03-20 01:28:44 -10:00
J. Nick Koston
bc862e97ed
Use a dedicated executor pool for database operations ( #68105 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-17 23:09:01 -10:00
Marc Mueller
596644d715
Fix typo [recorder] ( #66879 )
2022-02-19 16:04:20 +01:00
J. Nick Koston
b27e9e376d
Use StaticPool for recorder and NullPool for all other threads with sqlite3 ( #49693 )
2021-04-26 19:20:31 -10:00