Browse Source

Add per_page=100 to queries to be able to count stable regressions

Santiago Pastorino 4 years ago
parent
commit
294f9d9f57
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/github.rs

+ 2 - 1
src/github.rs

@@ -689,6 +689,7 @@ impl Repository {
             .chain(std::iter::once("filter=all".to_owned()))
             .chain(std::iter::once(format!("sort=created")))
             .chain(std::iter::once(format!("direction=asc")))
+            .chain(std::iter::once(format!("per_page=100")))
             .collect::<Vec<_>>()
             .join("&");
         format!(
@@ -730,7 +731,7 @@ impl Repository {
             .collect::<Vec<_>>()
             .join("+");
         format!(
-            "{}/search/issues?q={}&sort=created&order=asc",
+            "{}/search/issues?q={}&sort=created&order=asc&per_page=100",
             Repository::GITHUB_API_URL,
             filters
         )