From 8f7458ee5b977e0da9e0d38e7d42080f93db1759 Mon Sep 17 00:00:00 2001 From: Jerod Santo Date: Sun, 16 Jul 2023 08:47:15 -0500 Subject: [PATCH] Reduce star treshold for new repos down to 10 --- lib/bq_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bq_client.rb b/lib/bq_client.rb index 256dffc..0721d2b 100644 --- a/lib/bq_client.rb +++ b/lib/bq_client.rb @@ -89,7 +89,7 @@ def top_new_sql WHERE ref_type='"repository"' OR ref_type IS NULL # PublicEvent has no ref_type ) GROUP BY repo.id, repo.name, repo.url - HAVING count >= 25 + HAVING count >= 10 ORDER BY count DESC LIMIT 1000 SQL