Skip to content

Commit

Permalink
Use page_size 10000 when getting all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
akilburge committed Feb 22, 2016
1 parent ca31dd5 commit c9edb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GogoKit/Extensions/HalClientExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static async Task<IReadOnlyList<T>> GetAllPagesAsync<T>(
var currentLink = link;
var currentParameters = new Dictionary<string, string>(parameters ?? new Dictionary<string, string>());
// Increase page-size to reduce the number of round-trips
var maxPageSize = "1000";
var maxPageSize = "10000";
if (currentParameters.ContainsKey("page_size"))
{
currentParameters["page_size"] = maxPageSize;
Expand Down

0 comments on commit c9edb63

Please sign in to comment.