Update Rust crate redis to 0.24.0 #45

Merged
pierre merged 3 commits from renovate/redis-0.x into master 2024-03-04 09:06:21 +00:00
Showing only changes of commit 86d57264bf - Show all commits

View File

@ -45,7 +45,7 @@ where
{
let value_str = serde_json::to_string(value)?;
execute_request(|conn| Ok(conn.set_ex(key, value_str, lifetime.as_secs() as usize)?))?;
execute_request(|conn| Ok(conn.set_ex(key, value_str, lifetime.as_secs() as u64)?))?;
Ok(())
}