Skip to content

Commit

Permalink
daemons force
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Dec 30, 2024
1 parent e4ca031 commit 406050f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/daemons.R
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ daemons <- function(n, url = NULL, remote = NULL, dispatcher = TRUE, ...,
`[[<-`(.., .compute, `[[<-`(`[[<-`(envir, "sock", sock), "n", launches))
if (length(remote))
launch_remote(n = n, remote = remote, tls = envir[["tls"]], ..., .compute = .compute)
} else {
} else if (force) {
daemons(0L, .compute = .compute)
return(daemons(n = n, url = url, remote = remote, dispatcher = dispatcher, ...,
seed = seed, tls = tls, pass = pass, .compute = .compute))
Expand Down

0 comments on commit 406050f

Please sign in to comment.