From c4ce37208fc1ec83b725e4c4ed525e2793666256 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Fri, 22 Mar 2024 10:34:12 +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 a2d6872..aa201d7 100644 --- a/geneit_backend/src/connections/redis_connection.rs +++ b/geneit_backend/src/connections/redis_connection.rs @@ -7,7 +7,7 @@ use std::cell::RefCell; use std::time::Duration; thread_local! { - static REDIS_CONNECTION: RefCell> = RefCell::new(None); + static REDIS_CONNECTION: RefCell> = const { RefCell::new(None) }; } /// Execute a request on Redis