Skip to content

Commit 4c62598

Browse files
committed
ref: better comment
1 parent e65f5d1 commit 4c62598

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/robust_subscription.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ impl<N: Network> RobustSubscription<N> {
194194
/// and forwards items to a channel, which is then wrapped in a Stream.
195195
#[must_use]
196196
pub fn into_stream(mut self) -> RobustSubscriptionStream<N> {
197-
// TODO: This shouldnt be unbounded
197+
// TODO: This shouldnt be unbounded need choose an appropriate bound (Maybe same as max
198+
// buffer probably should be bigger)
198199
let (tx, rx) = mpsc::unbounded_channel();
199200

200201
tokio::spawn(async move {

0 commit comments

Comments
 (0)