Skip to content

golemshinymanager: app_server is called twice #4

@dmenne

Description

@dmenne

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions