diff --git a/cave/src/store.rs b/cave/src/store.rs index 38ea8c6..1da7d47 100644 --- a/cave/src/store.rs +++ b/cave/src/store.rs @@ -292,7 +292,7 @@ impl Store { if let Some(user_id) = &user_id { // users by tag/hour cmd.sadd(&user_key, &user_id).ignore() - .expire(&user_key, TAG_EXPIRE as usize * 86400) + .expire(&user_key, TAG_EXPIRE as usize * 3600) .ignore(); } }; @@ -335,7 +335,7 @@ impl Store { let image_key = format!("i:{}", name); cmd.sadd(&image_key, image) .ignore() - .expire(&image_key, TAG_EXPIRE as usize * 86400) + .expire(&image_key, TAG_EXPIRE as usize * 3600) .ignore() .scard(&image_key); image_keys.push(image_key);