From 7788fb224fbda5cf2f88f96933f175f83524e8f1 Mon Sep 17 00:00:00 2001 From: Pavel Tcholakov Date: Sun, 1 Dec 2024 10:30:48 +0100 Subject: [PATCH] Update CreateSnapshot RPC request timeout to 90s The SnapshotRepository retry policy is set to 60s total timeout. --- crates/admin/src/cluster_controller/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/admin/src/cluster_controller/service.rs b/crates/admin/src/cluster_controller/service.rs index 18123ceab..d9560fd68 100644 --- a/crates/admin/src/cluster_controller/service.rs +++ b/crates/admin/src/cluster_controller/service.rs @@ -449,7 +449,7 @@ where ) -> anyhow::Result { // todo(pavel): make snapshot RPC timeout configurable, especially if this includes remote upload in the future let response = tokio::time::timeout( - Duration::from_secs(30), + Duration::from_secs(90), self.create_snapshot_router.call( &self.network_sender, node_id,