about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-06-13T07·56+0300
committerclbot <clbot@tvl.fyi>2024-06-13T16·19+0000
commitd947f61d36b95fbed1014e5dc3f1e86684e1d78c (patch)
treefa3821e262f4eb8c010209e9db80665b10714aaf
parent79bfa931ed6e559cc5f9de600886d339b091e66c (diff)
fix(tvix/glue/tvix_store_io): disable concurrent fetches for now r/8263
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
-rw-r--r--tvix/glue/src/tvix_store_io.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/glue/src/tvix_store_io.rs b/tvix/glue/src/tvix_store_io.rs
index dd93b2be1b67..7ee6e19ee31c 100644
--- a/tvix/glue/src/tvix_store_io.rs
+++ b/tvix/glue/src/tvix_store_io.rs
@@ -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?;