Skip to content

Commit a8356d8

Browse files
Decrease to zero timeout for reading logged output
1 parent 1797840 commit a8356d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: future.batchtools
2-
Version: 0.12.2-9930
2+
Version: 0.12.2-9931
33
Depends:
44
R (>= 3.2.0),
55
parallelly,

R/BatchtoolsFutureBackend-class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ await <- function(future, cleanup = TRUE, ...) {
797797
## Since we're already collected the results, the log file
798798
## should already exist, if it exists. Because of this,
799799
## only poll for the log file for a second before giving up.
800-
result[["batchtools_log"]] <- batchtools_getLog(id = jobid, reg = reg, timeout = 1.0)
800+
result[["batchtools_log"]] <- batchtools_getLog(id = jobid, reg = reg, timeout = 0.0)
801801
if (result_has_errors(result)) cleanup <- FALSE
802802
}
803803
} else if ("error" %in% stat) {

0 commit comments

Comments
 (0)