|
@@ -45,11 +45,10 @@ pub const JOB_PROCESSING_CADENCE_IN_SECS: u64 = 60;
|
|
|
|
|
|
pub fn jobs() -> Vec<JobSchedule> {
|
|
|
// Add to this vector any new cron task you want (as explained above)
|
|
|
- let mut jobs: Vec<JobSchedule> = Vec::new();
|
|
|
- jobs.push(crate::handlers::docs_update::job());
|
|
|
- jobs.push(crate::handlers::rustc_commits::job());
|
|
|
-
|
|
|
- jobs
|
|
|
+ vec![
|
|
|
+ crate::handlers::docs_update::job(),
|
|
|
+ crate::handlers::rustc_commits::job(),
|
|
|
+ ]
|
|
|
}
|
|
|
|
|
|
#[test]
|