mirror of
https://github.com/Rucknium/xmrpeers.git
synced 2024-12-22 19:49:24 +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 (nrow(peers) * ping.count > 5) {
|
||||||
|
|
||||||
if (is.null(threads)) {
|
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 {
|
} else {
|
||||||
n.workers <- threads
|
n.workers <- threads
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue