Aug 26, 2024
Fix Ecto transactions in parallel preloads
Elixir2.12.3
Fixed
-
Make
Appsignal.Ecto.Repo
'sdefault_options/1
function overridable. If your Ecto repo usesAppsignal.Ecto.Repo
and implements its owndefault_options/1
, it must callsuper
to merge its default options with those ofAppsignal.Ecto.Repo
: -
Fix an issue where Ecto transactions in parallel preloads would not be instrumented correctly when using
Appsignal.Ecto.Repo
, causing the query in the Ecto transaction to not be instrumented and the sample to be incorrectly closed as an earlier time.
View the Elixir package v2.12.3 changelog for more information.