elixir-ecto / db_connection

Database connection behaviour
http://hexdocs.pm/db_connection/DBConnection.html
306 stars 113 forks source link

Add `caller` checkout option to list of solutions in `DBConnection.OwnershipError` #57

Closed fishcakez closed 7 years ago

fishcakez commented 8 years ago

When doing similar async tasks to parallel preloads in Ecto it would be useful to use the caller option. We may need to check/test that caller works if a child task uses parallel preloads in Ecto.

/cc @josevalim @nathany