Skip to content

Commit

Permalink
test: ensure independent ids
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Jan 18, 2024
1 parent bd1929b commit 58af6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion performance-test/20-onehop.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ results = async
// jitter sendout time by a few ms
await new Promise((resolve) => setTimeout(() => resolve(), Math.floor(Math.random() * 10)));
const start = performance.now();
const id = IDS[Math.floor(Math.random() * IDS.length)]
const id = IDS.pop(Math.floor(Math.random() * IDS.length))
const body = {
message: {
query_graph: {
Expand Down

0 comments on commit 58af6ce

Please sign in to comment.