mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-30 20:43:55 -06:00
ignore nanos component of token filler wait
This commit is contained in:
parent
5a0d9307bf
commit
41adf58840
@ -133,7 +133,7 @@ public class ThreadDrivenTokenPool implements TokenPool {
|
||||
blocks++;
|
||||
//System.out.println(ANSI_BrightRed + "waiting for " + amt + "/" + activePool + " of max " + maxActivePool + ANSI_Reset);
|
||||
try {
|
||||
wait(maxActivePool / 1000000, (int) maxActivePool % 1000000);
|
||||
wait(maxActivePool / 1000000, 0);
|
||||
} catch (InterruptedException ignored) {
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
|
Loading…
Reference in New Issue
Block a user