Skip to content

Commit 0b39f8b

Browse files
committed
More efficient everywhere() construction
1 parent 33dcff5 commit 0b39f8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/mirai.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ everywhere <- function(.expr, ..., .args = list(), .min = 1L, .compute = NULL) {
271271
xlen <- if (is.null(disp)) {
272272
max(stat(envir[["sock"]], "pipes"), envir[["n"]])
273273
} else {
274-
max(.min, info(.compute)[[1L]])
274+
max(.min, .dispatcher_info(disp)[1L])
275275
}
276276
seed <- envir[["seed"]]
277277
on.exit(`[[<-`(envir, "seed", seed))

0 commit comments

Comments
 (0)