github IAsDoubleYou/homeassistant-mysql_query v3.2.0
Configurable query timeout

latest releases: v4.2.1, v4.2.0, v4.1.0...
one month ago

Highlights

_async_run_statement only wrapped pool.acquire() in a timeout, so a statement that stopped getting answers after that point could hold its pooled connection forever and eventually exhaust the pool.

Added

  • Query Timeout (seconds) (mysql_query_timeout, default 30) — a new connection setting that bounds the whole service call: waiting for a free pooled connection, reconnecting it if needed, and running the statement. A call still running when it elapses fails with an error instead of hanging, and its connection is dropped instead of being handed back for the next call to reuse.

Fixed

  • manifest.json now correctly reports 3.2.0; the previous release (v3.1.0, the automated release-zip workflow) had shipped with the version field still reading 3.0.0.

No action needed for existing installations: the new timeout defaults to 30 seconds and every other setting stays the same.

Full details: CHANGELOG.md

Don't miss a new homeassistant-mysql_query release

NewReleases is sending notifications on new releases.