Achieving code swapping in Erlang's gen_server

前端 未结 5 784
北恋
北恋 2020-12-04 09:02

I am looking to make use of Erlang\'s hot code swapping feature on a gen_server, so that I don\'t have to restart it. How should I do that? When I searched, all I could find

5条回答
  •  感动是毒
    2020-12-04 09:43

    If you're on rebar3, some of this manual processing has been automated away (ie. appup and relup generation), you can find more info here: http://lrascao.github.io/automatic-release-upgrades-in-erlang/

提交回复
热议问题