about summary refs log tree commit diff
path: root/tvix/castore/src/directoryservice
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/castore/src/directoryservice')
-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 372135628050..bee2fb15aeee 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(())