Skip to content

Commit

Permalink
Proxy Dev: Fixed accidentally triple the amount of back end calls
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoll1974 committed Jan 22, 2025
1 parent 5e05819 commit 956de32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public String remoteCallHttpClientMany(
@RequestParam(value = "count", defaultValue = "3") int count) {

List<Future<String>> results = new ArrayList<>();
for (int i = 0; i < (count * 3); i++) { // oops tripple the number of backend calls!
for (int i = 0; i < count; i++) {
try {
results.add(afterburnerRemote.executeCallAsync(path, type));
} catch (IOException e) {
Expand Down

0 comments on commit 956de32

Please sign in to comment.