From 544c9e7c015f26e04ae0921334f2eff9410778da Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Mon, 4 Mar 2024 09:03:15 +0000 Subject: [PATCH] Update geneit_backend/src/connections/redis_connection.rs --- geneit_backend/src/connections/redis_connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geneit_backend/src/connections/redis_connection.rs b/geneit_backend/src/connections/redis_connection.rs index 71276b0..a2d6872 100644 --- a/geneit_backend/src/connections/redis_connection.rs +++ b/geneit_backend/src/connections/redis_connection.rs @@ -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 u64)?))?; + execute_request(|conn| Ok(conn.set_ex(key, value_str, lifetime.as_secs())?))?; Ok(()) }