mirror of
https://github.com/Rucknium/xmrpeers.git
synced 2024-12-22 11:39:23 +00:00
Fixes occasional issues with https://github.com/tidyverse/vroom/issues/364
This commit is contained in:
parent
b683456e9f
commit
1713e59b85
1 changed files with 4 additions and 0 deletions
4
R/ping.R
4
R/ping.R
|
@ -18,6 +18,10 @@
|
||||||
#' }
|
#' }
|
||||||
ping.peers <- function(bitmonero.dir = "~/.bitmonero", output.file = "monero_peer_pings.csv", sleep = 10, ping.count = 5, threads = NULL) {
|
ping.peers <- function(bitmonero.dir = "~/.bitmonero", output.file = "monero_peer_pings.csv", sleep = 10, ping.count = 5, threads = NULL) {
|
||||||
|
|
||||||
|
Sys.setenv(VROOM_CONNECTION_SIZE = formatC(131072 * 100, format = "fg"))
|
||||||
|
# Fixes occasional issues with https://github.com/tidyverse/vroom/issues/364
|
||||||
|
# formatC() is used since VROOM_CONNECTION_SIZE cannot interpret scientific notation
|
||||||
|
|
||||||
bitmonero.dir <- path.expand(bitmonero.dir)
|
bitmonero.dir <- path.expand(bitmonero.dir)
|
||||||
bitmonero.dir <- gsub("/+$", "", bitmonero.dir)
|
bitmonero.dir <- gsub("/+$", "", bitmonero.dir)
|
||||||
# Remove trailing slash(es) if they exist
|
# Remove trailing slash(es) if they exist
|
||||||
|
|
Loading…
Reference in a new issue