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

ircbot_connection should be a gen_server #51

Open
gdamjan opened this issue May 1, 2014 · 0 comments
Open

ircbot_connection should be a gen_server #51

gdamjan opened this issue May 1, 2014 · 0 comments

Comments

@gdamjan
Copy link
Owner

gdamjan commented May 1, 2014

ircbot_connection should be a gen_server, so that it reloads itself automatically.
also, that way it can be supervised by a supervisor (which doesn't do anything now).

the whole supervisor thing needs to be re-thought. The ircbot_app should probably run the ircbot_fsm (gen_fsm), ircbot_plugins (gen_events) and ircbot_connection (gen_server) in a supervisor, and connect them together. The last thing is not so easy without registering the gen_* with a name, which I have avoided till now.

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

1 participant