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
At the moment CB starts webserver, and then runs init scripts from the app. I propose changing of this order and run init scripts before starting web server, because it's usually the handlers access data and processes initialised by the init scripts, not vice versa.
would be moved from init of the boss_web-controller.erl to handle_info(timeout, after the boss_web_controller_util:start_boss_applications. Other initialization remains where it is in the init, and the data required by init_webserver gets passed via #state.
I tried it in my project and it works. Should I do pool request?
The text was updated successfully, but these errors were encountered:
At the moment CB starts webserver, and then runs init scripts from the app. I propose changing of this order and run init scripts before starting web server, because it's usually the handlers access data and processes initialised by the init scripts, not vice versa.
This call
would be moved from
init
of theboss_web-controller.erl
tohandle_info(timeout
, after theboss_web_controller_util:start_boss_applications
. Other initialization remains where it is in theinit
, and the data required byinit_webserver
gets passed via#state
.I tried it in my project and it works. Should I do pool request?
The text was updated successfully, but these errors were encountered: