diff --git a/filed/src/files/mod.rs b/filed/src/files/mod.rs index a2c21bd..e0dff4c 100644 --- a/filed/src/files/mod.rs +++ b/filed/src/files/mod.rs @@ -33,7 +33,7 @@ pub enum DeleteMode { impl File { pub fn expired(self: &Self) -> bool { - self.delete_at < chrono::Local::now() + self.delete_at > chrono::Local::now() } pub fn get_redis_key(self: &Self, prefix: String) -> String {