File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ du -hs target/debug
77
88crate_name=" cargo-registry"
99test_name=" all"
10- bin_names=" delete-crate delete-version populate render-readmes server test-pagerduty transfer-crates update-downloads"
10+ bin_names=" delete-crate delete-version populate render-readmes server test-pagerduty transfer-crates update-downloads background-worker monitor "
1111
1212normalized_crate_name=${crate_name// -/ _}
1313rm -v target/debug/$normalized_crate_name -*
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ pub fn find_next_unlocked_job(conn: &PgConnection) -> QueryResult<BackgroundJob>
5050 . first :: < BackgroundJob > ( conn)
5151}
5252
53- /// The number of jobs available to be run
53+ /// The number of jobs that have failed at least once
5454pub fn failed_job_count ( conn : & PgConnection ) -> QueryResult < i64 > {
5555 use crate :: schema:: background_jobs:: dsl:: * ;
5656
@@ -60,7 +60,7 @@ pub fn failed_job_count(conn: &PgConnection) -> QueryResult<i64> {
6060 . get_result ( conn)
6161}
6262
63- /// The number of jobs that have failed at least once
63+ /// The number of jobs available to be run
6464pub fn available_job_count ( conn : & PgConnection ) -> QueryResult < i64 > {
6565 use crate :: schema:: background_jobs:: dsl:: * ;
6666
You can’t perform that action at this time.
0 commit comments