From cfd7a3662f426d4f80ba7937b9d5cc3039815184 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Fri, 20 Sep 2024 09:32:06 -0700 Subject: [PATCH] try reconnect false The shiny server docs https://docs.posit.co/shiny-server/#reconnect suggest that the default reconnect of true will immediately reap user's sessions upon disconnect. Setting to false may give users 15 seconds to refresh/reconnect their session. --- shiny-server.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shiny-server.conf b/shiny-server.conf index 6fd89378..a950f6fa 100644 --- a/shiny-server.conf +++ b/shiny-server.conf @@ -25,6 +25,9 @@ server { # When a user visits the base URL rather than a particular application, # an index of the applications available in this directory will NOT be shown. directory_index off; + + # Don't automatically reap user's session upon disconnect + reconnect false; } }