fix(tvix/glue/tvix_store_io): disable concurrent fetches for now

We need some shared queue, preventing the same fetches/builds from
getting triggered multiple times unnecessarily.

Change-Id: I7c4a3c66db558f5cccd66865b170242b758e3e02
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11800
Reviewed-by: aspen <root@gws.fyi>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2024-06-13 10:56:45 +03:00 committed by clbot
parent 79bfa931ed
commit d947f61d36

View file

@ -238,7 +238,9 @@ impl TvixStoreIO {
)
})
.flatten()
.buffer_unordered(10) // TODO: make configurable
.buffer_unordered(
1, /* TODO: increase again once we prevent redundant fetches */
) // TODO: make configurable
.try_collect()
.await?;