Skip to content

Commit

Permalink
Merge pull request #302 from supabase/dynamicsupervisor-start-options
Browse files Browse the repository at this point in the history
Better `Extensions.Postgres.DynamicSupervisor` opts
  • Loading branch information
abc3 committed Aug 18, 2022
2 parents cd9b93f + 0b865be commit ffc7b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extensions/postgres/postgres_dynamic_supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ defmodule Extensions.Postgres.DynamicSupervisor do
}
]

Supervisor.init(children, strategy: :one_for_one)
Supervisor.init(children, strategy: :one_for_all, max_restarts: 10, max_seconds: 60)
end
end

0 comments on commit ffc7b0d

Please sign in to comment.