Commit bda2c3fb authored by Amine  GHOZLANE's avatar Amine GHOZLANE
Browse files

Limit upload only on shaman server, no block for local installation

parent 4bdea3c6
......@@ -146,8 +146,13 @@ if(!require(biomformat)){
}
# Allow to upload 50M files
options(shiny.maxRequestSize=50*1024^2)
# Allow to upload 50M files only shaman server
if(Sys.info()["nodename"] == "shaman"){
options(shiny.maxRequestSize=50*1024^2)
}else{
# No limit
options(shiny.maxRequestSize=500000000000000*1024^2)
}
source("Rfunctions/Data_Management.R")
source("Rfunctions/Stat_Model.R")
source("Rfunctions/DiagPlot.R")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment