We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 926319d commit 3bd837aCopy full SHA for 3bd837a
singlecell/resources/chunks/Functions.R
@@ -93,7 +93,7 @@ options(future.globals.maxSize = Inf)
93
94
options('Seurat.memsafe' = TRUE)
95
96
-if (!is.null(Sys.getenv('SEURAT_MAX_THREADS'))) {
+if (Sys.getenv('SEURAT_MAX_THREADS') != '') {
97
print(paste0('Setting future::plan workers to: ', Sys.getenv('SEURAT_MAX_THREADS')))
98
- future::plan(strategy='multiprocess', workers=Sys.getenv('SEURAT_MAX_THREADS'))
+ future::plan(strategy='multisession', workers=Sys.getenv('SEURAT_MAX_THREADS'))
99
}
0 commit comments