Skip to content

Commit

Permalink
Update CreateSnapshot RPC request timeout to 90s
Browse files Browse the repository at this point in the history
The SnapshotRepository retry policy is set to 60s total timeout.
  • Loading branch information
pcholakov committed Dec 1, 2024
1 parent 91d30df commit 7788fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/admin/src/cluster_controller/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ where
) -> anyhow::Result<SnapshotId> {
// 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,
Expand Down

0 comments on commit 7788fb2

Please sign in to comment.