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

rshiny-server-cmd doesn't allow for additional timeout configurations in shiny server config file #2

Open
aditipate opened this issue Jan 3, 2024 · 0 comments

Comments

@aditipate
Copy link

Currently there is no way to increase the app timeout through command line since the shiny server config is generated by get_server_conf function which only uses the most basic configuration possible. This poses an issue when I try to use rshiny-server-cmd with applications that require longer timeouts. I also have a potential solution for this: PolusAI#2

More specifically, this potential solution:

  • Adds additional click options to configure RShiny Server timeouts in the command line:
    • --app-init-timeout which defines the amount of time Shiny Server will wait for an R process to start before giving up.
    • --app-idle-timeout which defines the amount of time an R process will persist with no connections before being terminated
    • --http-keepalive-timeout which defines how long a keepalive connection will sit between HTTP requests/responses before it is closed.
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