mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
Fix logging that always says zero (#895)
This commit is contained in:
parent
cd694b898f
commit
a69178ca73
@ -351,7 +351,7 @@ fun <A> poll(
|
||||
executorService.schedule(task@ {
|
||||
counter++
|
||||
if (counter == warnCount) {
|
||||
log.warn("Been polling $pollName for ${pollInterval.seconds * warnCount} seconds...")
|
||||
log.warn("Been polling $pollName for ${pollInterval.multipliedBy(warnCount.toLong()).seconds} seconds...")
|
||||
}
|
||||
val result = try {
|
||||
check()
|
||||
|
Loading…
Reference in New Issue
Block a user