We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a703c2e commit 645ec64Copy full SHA for 645ec64
lib/ecto/adapters/sql.ex
@@ -890,7 +890,10 @@ defmodule Ecto.Adapters.SQL do
890
{name, config} = Keyword.pop(config, :name, config[:repo])
891
{pool_count, config} = Keyword.pop(config, :pool_count, 1)
892
{pool, config} = pool_config(config)
893
- child_spec = connection.child_spec(config)
+
894
+ connection_config = Keyword.put(config, :label, name)
895
896
+ child_spec = connection.child_spec(connection_config)
897
898
meta = %{
899
telemetry: telemetry,
0 commit comments