Increase TTL for redirect URI to 24 hours
This commit is contained in:
parent
dafcdc009b
commit
27a40b1a91
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue