I have this very simple app deployed in shinyapps.io:
library(shiny)
ui <- fluidPage(textOutput("text"))
server <- function(input, output, session){
output$text<-renderText({print("Shinyapps.io Timeout Test")})
}
shinyApp(ui, server)
My purpose is to automatically stop my app after 5 minutes since initialization. That's why I changed the Instance Idle Timeout
from 15 minutes to 5 minutes in "General" settings:
In the "Advanced" settings, I didn't change anything. But I'm not sure if my problem is related to the Connection Timeout
.
However, the app didn't stop at minute 5.. I waited until the stop, to see the logs.
At minute 15, it appears:
... but in shinyapps.io dashboard the app still had the status "Running"
The app was finally stopped after 15 minutes more, as I can see in the logs:
It took 30 minutes in total to be stopped. ¿Why this app did not stop at minute 5? ¿Is my understanding of Instance Idle time
incorrect?