File tree 2 files changed +3
-3
lines changed
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
7
7
8
8
crate_name=" cargo-registry"
9
9
test_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 "
11
11
12
12
normalized_crate_name=${crate_name// -/ _}
13
13
rm -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>
50
50
. first :: < BackgroundJob > ( conn)
51
51
}
52
52
53
- /// The number of jobs available to be run
53
+ /// The number of jobs that have failed at least once
54
54
pub fn failed_job_count ( conn : & PgConnection ) -> QueryResult < i64 > {
55
55
use crate :: schema:: background_jobs:: dsl:: * ;
56
56
@@ -60,7 +60,7 @@ pub fn failed_job_count(conn: &PgConnection) -> QueryResult<i64> {
60
60
. get_result ( conn)
61
61
}
62
62
63
- /// The number of jobs that have failed at least once
63
+ /// The number of jobs available to be run
64
64
pub fn available_job_count ( conn : & PgConnection ) -> QueryResult < i64 > {
65
65
use crate :: schema:: background_jobs:: dsl:: * ;
66
66
You can’t perform that action at this time.
0 commit comments