Skip to content

Set dashboard timeout thresholds to reduce disconnects #178

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

Merged
merged 2 commits into from
Sep 24, 2021

Conversation

nmdefries
Copy link
Collaborator

@nmdefries nmdefries commented Sep 23, 2021

Description

Explicitly set various dashboard timeout thresholds.

Changes

Note: I am unable to get the app_session_timeout key (and other keys restricted to Shiny Server Pro) to be recognized locally. However, assuming we have Shiny Server Pro, this should work in staging and prod.

Fixes

Decrease the rate of app disconnects.

Letting a given app session last longer improves the caching behavior from #169. Since the data cache is stored in memory, if the session closes we need to reload and re-cache the data.

@nmdefries nmdefries requested a review from krivard September 24, 2021 14:40
Copy link
Contributor

@krivard krivard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nmdefries nmdefries merged commit 7f78b1d into dev Sep 24, 2021
@nmdefries nmdefries deleted the increase-timeout-threshold branch September 24, 2021 16:14
@nmdefries nmdefries mentioned this pull request Oct 4, 2021
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

Successfully merging this pull request may close these issues.

2 participants