Update geneit_backend/src/connections/redis_connection.rs
This commit is contained in:
		@@ -7,7 +7,7 @@ use std::cell::RefCell;
 | 
				
			|||||||
use std::time::Duration;
 | 
					use std::time::Duration;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
thread_local! {
 | 
					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
 | 
					/// Execute a request on Redis
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user