We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc383ff commit e3430b2Copy full SHA for e3430b2
lib/ecto/adapters/sql.ex
@@ -895,7 +895,7 @@ defmodule Ecto.Adapters.SQL do
895
{name, config} = Keyword.pop(config, :name, config[:repo])
896
{pool_count, config} = Keyword.pop(config, :pool_count, 1)
897
{pool, config} = pool_config(config)
898
- child_spec = connection.child_spec(config)
+ child_spec = connection.child_spec([label: name] ++ config)
899
900
meta = %{
901
telemetry: telemetry,
0 commit comments