diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2021-12-19 02:44:42 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 16:14:42 -0500 |
commit | 6de53b631fcdb96d72639b6d2db3592d5fa8498d (patch) | |
tree | 9a93d868f5f434a4898f212cb6bd53e65ca49ce0 /ext/tls/lib.rs | |
parent | 3db18bf9e6466c74efd9052df4d372ea0b581154 (diff) |
refactor: use `once_cell` instead of `lazy_static` (#13135)
Diffstat (limited to 'ext/tls/lib.rs')
-rw-r--r-- | ext/tls/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/tls/lib.rs b/ext/tls/lib.rs index bcaf0f1be..a6775b95d 100644 --- a/ext/tls/lib.rs +++ b/ext/tls/lib.rs @@ -89,11 +89,6 @@ pub struct BasicAuth { pub password: String, } -lazy_static::lazy_static! { - static ref CLIENT_SESSION_MEMORY_CACHE: Arc<ClientSessionMemoryCache> = - Arc::new(ClientSessionMemoryCache::default()); -} - #[derive(Default)] struct ClientSessionMemoryCache(Mutex<HashMap<Vec<u8>, Vec<u8>>>); |