Fix close parenthesis

This commit is contained in:
Rucknium 2024-04-16 00:25:43 +00:00
parent 0a82cf111c
commit a8c712d8f6

View file

@ -125,7 +125,7 @@ ping.peers <- function(bitmonero.dir = "~/.bitmonero", output.file = "monero_pee
if (nrow(peers) * ping.count > 5) {
if (is.null(threads)) {
n.workers <- min(c(floor(nrow(peers) * ping.count / 5), parallelly::availableCores()*4, 100)
n.workers <- min(c(floor(nrow(peers) * ping.count / 5), parallelly::availableCores()*4, 100))
} else {
n.workers <- threads
}