Skip to content

Commit

Permalink
Added throttling limitation
Browse files Browse the repository at this point in the history
Signed-off-by: vhnes <ext-vladyslav.hnes@here.com>
  • Loading branch information
VladyslavHnes committed May 14, 2024
1 parent 1fc694b commit f20d704
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void testClientThrottling() {

private HttpResponse<String> getIterateSpace(String spaceId, AuthProfile profile) throws IOException, InterruptedException {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create(HUB_ENDPOINT + "/spaces/" + spaceId + "/iterate?limit=500&skipCache=true"))
.uri(URI.create(HUB_ENDPOINT + "/spaces/" + spaceId + "/iterate?limit=1000&skipCache=true"))
.header("Accept", "application/json")
.headers("Authorization", getAuthHeaders(profile).get("Authorization"))
.GET()
Expand Down

0 comments on commit f20d704

Please sign in to comment.