This commit is contained in:
parent
c2a9393ef1
commit
ee9c5fbdd1
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ pub async fn rss(req: HttpRequest, config: web::Data<Config>) -> impl Responder
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
//#[once(time = 10800)] // 3h
|
#[once(time = 10800)] // 3h
|
||||||
fn build_rss(config: Config, info: ConnectionInfo) -> String {
|
fn build_rss(config: Config, info: ConnectionInfo) -> String {
|
||||||
let mut posts = get_posts("data/blog");
|
let mut posts = get_posts("data/blog");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue