Attempt to fix breaking change
This commit is contained in:
parent
065b8736a2
commit
86d57264bf
@ -45,7 +45,7 @@ where
|
|||||||
{
|
{
|
||||||
let value_str = serde_json::to_string(value)?;
|
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(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user