You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: