mirror of
https://github.com/Rucknium/xmrpeers.git
synced 2024-12-22 11:39:23 +00:00
Fix close parenthesis
This commit is contained in:
parent
0a82cf111c
commit
a8c712d8f6
1 changed files with 1 additions and 1 deletions
2
R/ping.R
2
R/ping.R
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue