Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ public RequestThread(Window<Integer,String,String> window, BlockingQueue<Integer
public void run() {
try {
for (int x = 0; x < requestsPerThread; x++) {
Integer i = Integer.valueOf(""+id+""+x);
//To get a distinct value of i, we multiply id by the total number of requests per thread and add x to it
Integer i = Integer.valueOf(""+id*requestsPerThread+""+x);
String request = "Request"+i;
// logger.debug("adding request " + i);
WindowFuture<Integer,String,String> requestFuture = window.offer(i, request, 1000);
Expand Down