Update geneit_backend/src/connections/redis_connection.rs
This commit is contained in:
parent
de69009174
commit
c4ce37208f
@ -7,7 +7,7 @@ use std::cell::RefCell;
|
||||
use std::time::Duration;
|
||||
|
||||
thread_local! {
|
||||
static REDIS_CONNECTION: RefCell<Option<redis::Client>> = RefCell::new(None);
|
||||
static REDIS_CONNECTION: RefCell<Option<redis::Client>> = const { RefCell::new(None) };
|
||||
}
|
||||
|
||||
/// Execute a request on Redis
|
||||
|
Loading…
Reference in New Issue
Block a user