Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Bump tokio to 1.1 (#15926)
Browse files Browse the repository at this point in the history
(cherry picked from commit 654449c)
  • Loading branch information
CriesofCarrots authored and mergify-bot committed Mar 16, 2021
1 parent a259ff0 commit ae4a48d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 42 deletions.
42 changes: 2 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ solana-storage-proto = { path = "../storage-proto", version = "=1.6.1" }
solana-vote-program = { path = "../programs/vote", version = "=1.6.1" }
tempfile = "3.1.0"
thiserror = "1.0"
tokio = { version = "0.3", features = ["full"] }
tokio = { version = "1.1", features = ["full"] }
tokio-stream = "0.1"
trees = "0.2.1"

[dependencies.rocksdb]
Expand Down
2 changes: 1 addition & 1 deletion ledger/src/bigtable_upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pub async fn upload_confirmed_blocks(
use futures::stream::StreamExt;

let mut stream =
tokio::stream::iter(receiver.into_iter()).chunks(NUM_BLOCKS_TO_UPLOAD_IN_PARALLEL);
tokio_stream::iter(receiver.into_iter()).chunks(NUM_BLOCKS_TO_UPLOAD_IN_PARALLEL);

while let Some(blocks) = stream.next().await {
if exit.load(Ordering::Relaxed) {
Expand Down

0 comments on commit ae4a48d

Please sign in to comment.