From 1f386fd002febba644e03f93f027e589b9619c65 Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Mon, 23 Dec 2024 13:57:34 +0200 Subject: [PATCH] change scraping job to be run every 60 minutes --- scrapper/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapper/src/main.rs b/scrapper/src/main.rs index d127805..9ee2cb9 100644 --- a/scrapper/src/main.rs +++ b/scrapper/src/main.rs @@ -29,7 +29,7 @@ async fn main() -> Result<(), anyhow::Error> { }) .expect("Error setting Ctrl-C handler"); - run_scrapping_job(&mut scheduler, tx, 60.seconds()); + run_scrapping_job(&mut scheduler, tx, 60.minutes()); // Run the scheduler in a separate thread. let handle = run_scheduler(scheduler, running.clone());