Increase TTL for redirect URI to 24 hours

This commit is contained in:
Paul van Tilburg 2022-05-27 22:58:31 +02:00
parent dafcdc009b
commit 27a40b1a91
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ fn set_paging_query(url: &mut Url, limit: usize, offset: usize) {
#[cached(
key = "String",
convert = r#"{ download_key.to_owned() }"#,
time = 3600,
time = 86400,
result = true
)]
pub(crate) async fn redirect_url(download_key: &str) -> Result<String> {