increase post retention to 14 days

This commit is contained in:
Denis-Cosmin NUTIU 2024-12-30 17:50:27 +02:00
parent f8827d3ba4
commit 13fecd73e8

View file

@ -103,7 +103,7 @@ async fn main() -> Result<(), anyhow::Error> {
.await; .await;
if published { if published {
info!("Published {:?}", news_post); info!("Published {:?}", news_post);
redis_service.flag_key(&title, 60 * 60 * 24 * 3).await; redis_service.flag_key(&title, 60 * 60 * 24 * 14).await;
} }
}; };
} }