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 <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
This commit is contained in:
Florian Klink 2024-05-10 08:31:11 +03:00 committed by clbot
parent 96b8b1a205
commit 84114cf02c
5 changed files with 27 additions and 31 deletions

View file

@ -7112,7 +7112,7 @@ rec {
}
{
name = "parking_lot";
packageId = "parking_lot 0.12.1";
packageId = "parking_lot 0.12.2";
}
{
name = "percent-encoding";
@ -7683,11 +7683,11 @@ rec {
};
resolvedDefaultFeatures = [ "default" ];
};
"parking_lot 0.12.1" = rec {
"parking_lot 0.12.2" = rec {
crateName = "parking_lot";
version = "0.12.1";
edition = "2018";
sha256 = "13r2xk7mnxfc5g0g6dkdxqdqad99j7s7z8zhzz4npw5r0g0v4hip";
version = "0.12.2";
edition = "2021";
sha256 = "1ys2dzz6cysjmwyivwxczl1ljpcf5cj4qmhdj07d5bkc9z5g0jky";
authors = [
"Amanieu d'Antras <amanieu@gmail.com>"
];
@ -13697,7 +13697,7 @@ rec {
}
{
name = "parking_lot";
packageId = "parking_lot 0.12.1";
packageId = "parking_lot 0.12.2";
}
{
name = "petgraph";
@ -14430,6 +14430,10 @@ rec {
optional = true;
features = [ "rt-tokio" ];
}
{
name = "parking_lot";
packageId = "parking_lot 0.12.2";
}
{
name = "pin-project-lite";
packageId = "pin-project-lite";