Skip to content

Commit

Permalink
Increase upload size to 30mb
Browse files Browse the repository at this point in the history
  • Loading branch information
afwillia committed Nov 14, 2023
1 parent 62a268d commit 2a946c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions global.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ ncores <- availableCores()
message(sprintf("Available cores: %s", ncores))
plan(multicore, workers = ncores)

options(shiny.maxRequestSize=32*1024^2)

# import R files
source_files <- list.files(c("functions", "modules"), pattern = "*\\.R$", recursive = TRUE, full.names = TRUE)
sapply(source_files, FUN = source)
Expand Down

0 comments on commit 2a946c2

Please sign in to comment.