Skip to content

Commit 322b3bc

Browse files
committed
Label the sandbox owner process
1 parent ece0391 commit 322b3bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/ecto/adapters/sql/sandbox.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
450450

451451
{:ok, pid} =
452452
Agent.start(fn ->
453+
Process.set_label({__MODULE__, :sandbox_owner, %{started_by: parent}})
453454
{shared, opts} = Keyword.pop(opts, :shared, false)
454455
:ok = checkout(repo, opts)
455456

0 commit comments

Comments
 (0)