Update
This commit is contained in:
parent
e262fc8ab2
commit
1456184d30
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ pub fn clear(redis_conn: &mut Connection) -> Result<()> {
|
|||
redis::cmd("UNLINK").arg(key).query(redis_conn)?;
|
||||
}
|
||||
|
||||
redis::cmd("UNLINK").arg(keys::TAGS).query(redis_conn)?;
|
||||
|
||||
for key in redis::cmd("KEYS")
|
||||
.arg(format!("{}*", keys::TAG_POSTS))
|
||||
.query::<Vec<String>>(redis_conn)?
|
||||
|
|
Loading…
Reference in a new issue