Skip to content

Commit

Permalink
Merge pull request #86 from mzmcbride/reorder-reports
Browse files Browse the repository at this point in the history
Run streak reports at the end
  • Loading branch information
legoktm authored Dec 6, 2023
2 parents e6e8137 + 6c9caaa commit c21c491
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dbreps2/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ async fn main() -> Result<()> {
(general::UserLinksInArticles {})
.really_run(&enwiki_runner)
.await;
// taking longer than an hour
/*(general::UserArticleStreaks {})
.really_run(&enwiki_runner)
.await;*/
(general::UserStreaks {}).really_run(&enwiki_runner).await;
(enwiki::BrokenWikiProjTemps {})
.really_run(&enwiki_runner)
.await;
Expand Down Expand Up @@ -132,6 +127,11 @@ async fn main() -> Result<()> {
(enwiki::UserCats {}).really_run(&enwiki_runner).await;
// FIXME: too slow?
// (enwiki::WebhostPages {}).really_run(&enwiki_runner).await;
// these can be slow and are mostly just for fun, so run them last
(general::UserStreaks {}).really_run(&enwiki_runner).await;
(general::UserArticleStreaks {})
.really_run(&enwiki_runner)
.await;

// Cleanup
enwiki_runner.pool.disconnect().await?;
Expand Down

0 comments on commit c21c491

Please sign in to comment.