From 13fecd73e8f1f54e862fe060badcf63a1d3221c7 Mon Sep 17 00:00:00 2001 From: Denis-Cosmin NUTIU Date: Mon, 30 Dec 2024 17:50:27 +0200 Subject: [PATCH] increase post retention to 14 days --- 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 77791f5..d700775 100644 --- a/scrapper/src/main.rs +++ b/scrapper/src/main.rs @@ -103,7 +103,7 @@ async fn main() -> Result<(), anyhow::Error> { .await; if published { info!("Published {:?}", news_post); - redis_service.flag_key(&title, 60 * 60 * 24 * 3).await; + redis_service.flag_key(&title, 60 * 60 * 24 * 14).await; } }; }