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

:simple_one_for_one strategy deprecation warnings when running in Elixir v1.10 #140

Open
manzanit0 opened this issue Jan 29, 2020 · 2 comments

Comments

@manzanit0
Copy link

When upgrading my project from Elixir 1.9 to 1.10 I started getting the below warnings. I imagine due to this.

12:30:17.803 [info]  Serving securely using ["h2", "http/1.1"] on port 8080
warning: :simple_one_for_one strategy is deprecated, please use DynamicSupervisor instead
  (elixir 1.10.0) lib/supervisor.ex:604: Supervisor.init/2
  (elixir 1.10.0) lib/supervisor.ex:556: Supervisor.start_link/2
  (ace 0.18.9) lib/ace/http/service.ex:247: Ace.HTTP.Service.init/1
  (stdlib 3.10) gen_server.erl:374: :gen_server.init_it/2
  (stdlib 3.10) gen_server.erl:342: :gen_server.init_it/6

warning: :simple_one_for_one strategy is deprecated, please use DynamicSupervisor instead
  (elixir 1.10.0) lib/supervisor.ex:604: Supervisor.init/2
  (elixir 1.10.0) lib/supervisor.ex:556: Supervisor.start_link/2
  (ace 0.18.9) lib/ace/http/service.ex:254: Ace.HTTP.Service.init/1
  (stdlib 3.10) gen_server.erl:374: :gen_server.init_it/2
  (stdlib 3.10) gen_server.erl:342: :gen_server.init_it/6

warning: :simple_one_for_one strategy is deprecated, please use DynamicSupervisor instead
  (elixir 1.10.0) lib/supervisor.ex:604: Supervisor.init/2
  (elixir 1.10.0) lib/supervisor.ex:556: Supervisor.start_link/2
  (ace 0.18.9) lib/ace/http/service.ex:262: Ace.HTTP.Service.init/1
  (stdlib 3.10) gen_server.erl:374: :gen_server.init_it/2
  (stdlib 3.10) gen_server.erl:342: :gen_server.init_it/6
@manzanit0 manzanit0 changed the title :simple_one_for_one strategy deprecation warnings when running in Elixir v1.10 :simple_one_for_one strategy deprecation warnings when running in Elixir v1.10 Jan 29, 2020
@filipecabaco
Copy link
Contributor

filipecabaco commented Mar 16, 2020

Opened PR with my attempt to clean up the deprecation warnings.

#141

@CrowdHailer
Copy link
Owner

Thanks for the PR @filipecabaco this is definitely the right approach

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

No branches or pull requests

3 participants