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