I have a shiny application hosted on Shiny Server commercial which loads a huge database which is in .Rdata format from global.R and my application is failing to load at the first go as it throws 504 error as below and if we refresh the app, it successfully loads.
I have set "app_init_timeout 300;" in shiny config but the application fails well before that time, infact in less than 60 seconds the app fails with the above error.
Does the app_init_timeout really work in my case or is there any other way that i can get this to work.
Also a lot of the application logs has this on the last line when the app failed to start
/opt/shiny-server/scripts/shiny-run: line 3: 27548 Terminated /bin/bash --login -c "$SHINY_EXEC_COMMAND SHINY_R_PATH *"
system('shiny-server --version', intern = TRUE); "Shiny Server (Commercial) v126.96.36.1994" "Node.js v6.9.1"
Also i'm not sure if the version above is actally a PRO or not, and can someone let me know how to confirm that.