increase post retention to 14 days
This commit is contained in:
parent
f8827d3ba4
commit
13fecd73e8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue