From 3f1d48b3a2567bf631755599955993582514b8b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 21:54:51 +0000 Subject: [PATCH] build(deps): bump tokio-retry from 0.3.0 to 0.3.2 Bumps [tokio-retry](https://github.com/djc/tokio-retry) from 0.3.0 to 0.3.2. - [Release notes](https://github.com/djc/tokio-retry/releases) - [Commits](https://github.com/djc/tokio-retry/compare/v0.3.0...v0.3.2) --- updated-dependencies: - dependency-name: tokio-retry dependency-version: 0.3.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 8 ++++---- core/src/subgraph/registrar.rs | 2 +- graph/src/util/futures.rs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0d3bcbe1b24..a2da870e4f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8415,12 +8415,12 @@ dependencies = [ [[package]] name = "tokio-retry" -version = "0.3.0" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +checksum = "4a129d95275ebf4c493ec53bf0f8cd95f5ac161bc4f381700809a54f595d4470" dependencies = [ - "pin-project", - "rand 0.8.6", + "pin-project-lite", + "rand 0.10.1", "tokio", ] diff --git a/core/src/subgraph/registrar.rs b/core/src/subgraph/registrar.rs index 48698d8d3e2..e9422671e25 100644 --- a/core/src/subgraph/registrar.rs +++ b/core/src/subgraph/registrar.rs @@ -420,7 +420,7 @@ async fn resolve_start_block( .expect("cannot identify minimum start block because there are no data sources") { 0 => Ok(None), - min_start_block => Retry::spawn(retry_strategy(Some(2), RETRY_DEFAULT_LIMIT), move || { + min_start_block => Retry::start(retry_strategy(Some(2), RETRY_DEFAULT_LIMIT), move || { chain .block_pointer_from_number(logger, min_start_block - 1) .inspect_err(move |e| warn!(&logger, "Failed to get block number: {}", e)) diff --git a/graph/src/util/futures.rs b/graph/src/util/futures.rs index 593fa4149d0..f263480b063 100644 --- a/graph/src/util/futures.rs +++ b/graph/src/util/futures.rs @@ -305,7 +305,7 @@ where let mut attempt_count = 0; - Retry::spawn(retry_strategy(limit_opt, max_delay), move || { + Retry::start(retry_strategy(limit_opt, max_delay), move || { let operation_name = operation_name.clone(); let logger = logger.clone(); let condition = condition.clone();