From 84114cf02c7d742ff4bbfb1952734839d7e013eb Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 10 May 2024 08:31:11 +0300 Subject: refactor(tvix/castore/blobservice/memory): use parking_lot RwLock This one doesn't require us to deal with poisoning, is upgradeable and the right thing to use when locking access to data, not IO resources. Change-Id: I78634953a73404500d28f51f1d93a87e215c8149 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11612 Autosubmit: flokli Tested-by: BuildkiteCI Reviewed-by: Connor Brewster --- tvix/store/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'tvix/store/Cargo.toml') diff --git a/tvix/store/Cargo.toml b/tvix/store/Cargo.toml index bf04e9a1fb..b362a87ffb 100644 --- a/tvix/store/Cargo.toml +++ b/tvix/store/Cargo.toml @@ -42,6 +42,7 @@ url = "2.4.0" walkdir = "2.4.0" reqwest = { version = "0.11.22", features = ["rustls-tls-native-roots", "stream"], default-features = false } lru = "0.12.3" +parking_lot = "0.12.2" [dependencies.tonic-reflection] optional = true -- cgit 1.4.1