about summary refs log tree commit diff
path: root/tvix/castore/src/blobservice
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-05-10T05·24+0300
committerclbot <clbot@tvl.fyi>2024-05-11T15·07+0000
commit96b8b1a205e396c94344f9d70bade26d55fc98f4 (patch)
tree95d125b0ad86d58c0b50010790f1d3edbf59fe8c /tvix/castore/src/blobservice
parent11850249c8168ee91fafb0eef5ce23f0e4be618f (diff)
refactor(tvix/store/pathinfo/memory): tokio RwLock, improve list() r/8112
We don't want to use the std::sync::RwLock here, as it blocks.

This also means we don't need to deal with the error cases anymore.

The list() implementation is updated to use try_stream, which means we
can now avoid collecting everything into a Vec before returning from it.

Change-Id: I9057dcc410dc553e6b1be3f20d5ee830569e8218
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11611
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore/src/blobservice')
0 files changed, 0 insertions, 0 deletions