is the one that make managers process not to be restarted, when normal shutdown of process used in singleton?
when scaling down one service, my single process gets down and doesn't get up in remaining nodes of service... I think is because it gets detected as normal shutdown instead of abruptly
It is possible that this line
https://github.com/arjan/singleton/blob/ae3d0dd970954626beb90fddf8c83b6840cb6920/lib/singleton/manager.ex#L18
is the one that make managers process not to be restarted, when normal shutdown of process used in singleton?
when scaling down one service, my single process gets down and doesn't get up in remaining nodes of service... I think is because it gets detected as normal shutdown instead of abruptly
https://hexdocs.pm/elixir/Supervisor.html#module-restart-values-restart
If so, would be nice to pass the restart value by config, when starting the singleton