about summary refs log tree commit diff
path: root/tvix/castore/src/directoryservice/bigtable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/castore/src/directoryservice/bigtable.rs')
-rw-r--r--tvix/castore/src/directoryservice/bigtable.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/castore/src/directoryservice/bigtable.rs b/tvix/castore/src/directoryservice/bigtable.rs
index 3721356280..bee2fb15ae 100644
--- a/tvix/castore/src/directoryservice/bigtable.rs
+++ b/tvix/castore/src/directoryservice/bigtable.rs
@@ -118,7 +118,9 @@ impl BigtableDirectoryService {
             .expect("failed to spwan emulator");
 
         Retry::spawn(
-            ExponentialBackoff::from_millis(20).max_delay(Duration::from_secs(1)),
+            ExponentialBackoff::from_millis(20)
+                .max_delay(Duration::from_secs(1))
+                .take(3),
             || async {
                 if socket_path.exists() {
                     Ok(())