Open smklein opened 2 days ago
Adds (and uses) a ConnectionKiller, which marks a connection as dead if it is synchronously dropped, even from an asynchronous context. This ensures connections used by transactions are marked "unusable" if the transaction is cancelled and dropped.
ConnectionKiller
Fixes https://github.com/oxidecomputer/async-bb8-diesel/issues/47
Adds (and uses) a
ConnectionKiller
, which marks a connection as dead if it is synchronously dropped, even from an asynchronous context. This ensures connections used by transactions are marked "unusable" if the transaction is cancelled and dropped.Fixes https://github.com/oxidecomputer/async-bb8-diesel/issues/47