Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Verk.Supervisor to support treamlined child specs #186

Merged
merged 1 commit into from Mar 30, 2019

Conversation

Psli
Copy link
Contributor

@Psli Psli commented Mar 29, 2019

Elixir v1.5 allows child specifications, which specify how a child process is supervised, to be defined in modules.

children = [
  MyApp.Repo,
  MyApp.Endpoint,
  Verk.Supervisor
]

Supervisor.start_link(children, strategy: :one_for_one)

Elixir v1.5 allows child specifications, which specify how a child process is supervised, to be defined in modules.
@edgurgel edgurgel merged commit 7a5ad68 into edgurgel:master Mar 30, 2019
@edgurgel
Copy link
Owner

Thank you! I will release a new version soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants