Skip to content

Commit

Permalink
Run streak reports at the end
Browse files Browse the repository at this point in the history
These can be slow and are mostly for fun and not maintenance
so run them last.
  • Loading branch information
legoktm committed Dec 6, 2023
1 parent e6e8137 commit 6c9caaa
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 6c9caaa

Please sign in to comment.