Skip to content

Commit b792b68

Browse files
Mention that 'workers = I(n)' may be safe if the parallel tasks have a low CPU load
1 parent 392e1f5 commit b792b68

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: parallelly
2-
Version: 1.45.1-9008
2+
Version: 1.45.1-9009
33
Title: Enhancing the 'parallel' Package
44
Imports:
55
parallel,

R/makeClusterPSOCK.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@
128128
#'
129129
#' See [parallelly.options] for how to change the default thresholds.
130130
#' This built-in protection can be circumvented by specifying argument
131-
#' `workers` as an `AsIs` object, e.g. `workers = I(25)` (not recommended).
131+
#' `workers` as an `AsIs` object, e.g. `workers = I(25)`. We recommend
132+
#' against using this, unless you know the CPU load for each parallel
133+
#' worker is very low. This might be safe to do so when the parallel
134+
#' tasks are mostly in a waiting state, e.g. polling a webserver.
132135
#'
133136
#' @example incl/makeClusterPSOCK.R
134137
#'

man/makeClusterPSOCK.Rd

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)