Skip to content

Commit

Permalink
Tweak Finch supervisor children strartup order
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenlaid committed Sep 3, 2024
1 parent 80c2d42 commit 954ccee
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 954ccee

Please sign in to comment.