Skip to content

Commit

Permalink
fix jsonrpsee client
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Dec 6, 2023
1 parent b8d7324 commit 3c6102d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rpc/jsonrpsee_client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ impl JsonrpseeClient {
.build(uri)
.await
.map_err(|e| Error::Client(Box::new(e)))?;
let client = ClientBuilder::default().build_with_tokio(tx, rx);
let client = ClientBuilder::default()
.max_buffer_capacity_per_subscription(4096)
.build_with_tokio(tx, rx);
Ok(Self { inner: Arc::new(client) })
}
}
Expand Down

0 comments on commit 3c6102d

Please sign in to comment.