Skip to content

Commit

Permalink
bench: fix KEYS
Browse files Browse the repository at this point in the history
  • Loading branch information
areyouok committed Jun 11, 2024
1 parent 75482e4 commit b56fbaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public void shutdown() {
public void test(int threadIndex, long startTime, int state) {
try {
int k = Integer.reverse((int) startTime);
k = k % KEYS;
k = Math.abs(k % KEYS);
final DtTime timeout = new DtTime(800, TimeUnit.MILLISECONDS);
CompletableFuture<Void> f = clients[threadIndex].put(GROUP_ID, String.valueOf(k), DATA, timeout);

Expand Down

0 comments on commit b56fbaa

Please sign in to comment.