Attempt to fix breaking change
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
Pierre HUBERT 2024-03-04 09:01:07 +00:00
parent 065b8736a2
commit 86d57264bf

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(())
}