Skip to content

Commit

Permalink
only define plan at runtime #345
Browse files Browse the repository at this point in the history
  • Loading branch information
maxheld83 committed Dec 8, 2021
1 parent 28af705 commit f8cd888
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG MUGGLE_TAG=0.1.2-20211124
FROM subugoe/muggle-buildtime-onbuild:${MUGGLE_TAG} as buildtime
FROM subugoe/muggle-runtime-onbuild:${MUGGLE_TAG} as runtime
ENV R_FUTURE_PLAN=multicore
CMD shinycaas::shiny_opts_az(); metacheck::runMetacheck()
1 change: 0 additions & 1 deletion R/communicate.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ runMetacheck <- function(...) shiny::runApp(appDir = mcApp(), ...)
#' @family communicate
#' @export
mcApp <- function() {
future::plan(future::multicore, workers = 20L)
shiny::shinyApp(
ui = mcAppUI(),
server = mcAppServer
Expand Down

0 comments on commit f8cd888

Please sign in to comment.