I noted that app_server in the shinymanager example is called twice, once before the login screen and once after.
Since global.R is not considered state-of-the art, where should I open the database connection to avoid doing it twice?
See also you comment :
things that need to be launched at runtime should be listed in the app_server function
Since ThinkR-open/golem#6 (comment) was left in Limbo (use golem_options, but how, and how to close the connection), I have no clean solution for the case.
I noted that
app_serverin the shinymanager example is called twice, once before the login screen and once after.Since
global.Ris not considered state-of-the art, where should I open the database connection to avoid doing it twice?See also you comment :
Since ThinkR-open/golem#6 (comment) was left in Limbo (use golem_options, but how, and how to close the connection), I have no clean solution for the case.