diff --git a/plugins/yande_popular/src/db.rs b/plugins/yande_popular/src/db.rs index 41da908..f70d734 100644 --- a/plugins/yande_popular/src/db.rs +++ b/plugins/yande_popular/src/db.rs @@ -34,7 +34,7 @@ impl DB { let key = key?; let value = self.0.get(&key)?.unwrap(); let value = u64::from_be_bytes(value.as_ref().try_into().unwrap()); - if timestamp - value > 60 * 60 * 24 * 30 { + if timestamp - value > 60 * 60 * 24 * 365 { keys.push(key); } }