Skip to content

Commit

Permalink
Merge pull request #289 from elfenlaid/fix-children-order
Browse files Browse the repository at this point in the history
  • Loading branch information
sneako authored Sep 4, 2024
2 parents 80c2d42 + 954ccee commit 8b2ed4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/finch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ defmodule Finch do
@impl true
def init(config) do
children = [
{DynamicSupervisor, name: config.supervisor_name, strategy: :one_for_one},
{Registry, [keys: :duplicate, name: config.registry_name, meta: [config: config]]},
{DynamicSupervisor, name: config.supervisor_name, strategy: :one_for_one},
{PoolManager, config}
]

Expand Down

0 comments on commit 8b2ed4f

Please sign in to comment.