소스 검색

Temporarily limit rustc commits

We're encountering trouble returning all of the commits (~800 currently), so
limit to a smaller subset.
Mark Rousskov 5 년 전
부모
커밋
1a9cb03bd0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/db/rustc_commits.rs

+ 1 - 1
src/db/rustc_commits.rs

@@ -27,7 +27,7 @@ pub async fn get_commits_with_artifacts(db: &DbClient) -> anyhow::Result<Vec<Com
         select sha, parent_sha, time
         from rustc_commits
         where time >= current_date - interval '168 days'
-        order by time desc;",
+        order by time desc limit 50;",
             &[],
         )
         .await