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

BossMQ and Hot Reload #643

Open
rlander opened this issue May 19, 2016 · 1 comment
Open

BossMQ and Hot Reload #643

rlander opened this issue May 19, 2016 · 1 comment

Comments

@rlander
Copy link

rlander commented May 19, 2016

Are we supposed to lose all boss_mq messages and channels after a hot reload? I'm using boss_mq for user notifications in a web app, but it's not very useful if messages and channels are lost between code upgrades since we'll be doing those daily. Is that the intended behavior?

@jhg
Copy link

jhg commented Sep 11, 2016

I don't know about specific behaviour of BossMQ, I am newbie in Chicago Boss, but the hot reload code of Erlang not loss data, only change the code, even a old code can run while new code is running because Erlang first load the new code with the old, the old code continue execution until the process end or change to new code when call to other function in a specific conditions, and when nothing is running old code then Erlang remove the old code. If anybody know specific behavior of BossMQ maybe more usefull, sorry.

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

2 participants