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

:single_one_for_one deprecation #606

Closed
gemantzu opened this issue Apr 30, 2020 · 7 comments
Closed

:single_one_for_one deprecation #606

gemantzu opened this issue Apr 30, 2020 · 7 comments

Comments

@gemantzu
Copy link
Collaborator

gemantzu commented Apr 30, 2020

Here is the message:

warning: :simple_one_for_one strategy is deprecated, please use DynamicSupervisor instead
  (elixir 1.10.2) lib/supervisor.ex:604: Supervisor.init/2
  (elixir 1.10.2) lib/supervisor.ex:556: Supervisor.start_link/2
  (kernel 6.4.1) application_master.erl:277: :application_master.start_it_old/4

Erlang / Elixir versions:

Erlang/OTP 22 [erts-10.4.3] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [hipe]

IEx 1.10.2 (compiled with Erlang/OTP 22)
@doomspork
Copy link
Member

This is the most frustrating error. It's happening all over the place but there isn't a set solution AFAIK. I've seen many questions about this online

@pau-riosa
Copy link

hi guys I think this one might help regarding the warning https://hexdocs.pm/elixir/DynamicSupervisor.html

@gemantzu
Copy link
Collaborator Author

Thanks @pau-riosa ! You are welcome to push a PR if you want :)

@pau-riosa
Copy link

wow really thanks! I'll try!

@taj
Copy link
Member

taj commented May 25, 2020

I think this is not an issue anymore. can we close it @gemantzu ?

@gemantzu
Copy link
Collaborator Author

@tajchumber really? Did something change on erlang / elixir which fixed it or what? I am sorry, I was away for a few days.

@taj
Copy link
Member

taj commented May 26, 2020

I think it might be after updating to elixir 1.10? I actually didn't notice when it stopped happening haah

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

4 participants