We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 645ec64 commit 2e01d95Copy full SHA for 2e01d95
lib/ecto/adapters/sql.ex
@@ -890,10 +890,7 @@ 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
-
894
- connection_config = Keyword.put(config, :label, name)
895
896
- child_spec = connection.child_spec(connection_config)
+ child_spec = connection.child_spec([label: name] ++ config)
897
898
meta = %{
899
telemetry: telemetry,
0 commit comments