mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
Syntax.
This commit is contained in:
parent
ab131f3eb0
commit
a6aa9afed9
1 changed files with 2 additions and 2 deletions
|
@ -66,12 +66,12 @@ public class KobaltExecutors {
|
|||
val r = cs.take().get(remainingMs, TimeUnit.MILLISECONDS)
|
||||
result.add(r)
|
||||
remainingMs -= (System.currentTimeMillis() - start)
|
||||
log(2, "Received ${r}, remaining: ${remainingMs} ms")
|
||||
log(2, "Received $r, remaining: $remainingMs ms")
|
||||
i++
|
||||
}
|
||||
|
||||
if (remainingMs < 0) {
|
||||
warn("Didn't receive all the results in time: ${i} / ${tasks.size()}")
|
||||
warn("Didn't receive all the results in time: $i / ${tasks.size()}")
|
||||
} else {
|
||||
log(2, "Received all results in ${maxMs - remainingMs} ms")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue