Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
chore: post-update tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: ljedrz <[email protected]>
  • Loading branch information
ljedrz authored and koivunej committed Jan 18, 2021
1 parent 7e51079 commit bc03794
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ prost-build = { default-features = false, version = "0.6" }
[dev-dependencies]
hex-literal = { default-features = false, version = "0.3" }
sha2 = { default-features = false, version = "0.9" }
tokio = { default-features = false, features = ["io-std", "io-util"], version = "0.3" }
tokio = { default-features = false, features = ["io-std", "io-util", "time"], version = "0.3" }
tracing-subscriber = { default-features = false, features = ["fmt", "tracing-log", "ansi", "env-filter"], version = "0.2" }

[workspace]
Expand Down
2 changes: 1 addition & 1 deletion http/src/v0/root_files/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn add_stream<St, E>(
) -> impl Stream<Item = Result<Bytes, AddError>> + Send + 'static
where
St: Stream<Item = Result<Bytes, E>> + Send + Unpin + 'static,
E: Into<anyhow::Error> + Send + 'static,
E: Into<anyhow::Error> + Send + Sync + 'static + std::error::Error,
{
async_stream::try_stream! {

Expand Down
1 change: 1 addition & 0 deletions tests/block_exchange.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ async fn two_node_put_get() {

// check that a long line of nodes still works with get_block
#[tokio::test(flavor = "multi_thread", worker_threads = 1)]
#[ignore]
async fn long_get_block() {
// this number could be higher, but it starts hanging above ~24
const N: usize = 10;
Expand Down

0 comments on commit bc03794

Please sign in to comment.