Skip to content

Commit

Permalink
Redis: fix capacity overflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Nov 26, 2024
1 parent 84178ed commit 98d5cfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sea-streamer-redis/src/producer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ pub(crate) async fn create_producer(
break std::iter::repeat_with(|| {
Err(StreamErr::Backend(err.clone()))
})
.take(batch.0.len())
.collect();
}
}
Expand Down

0 comments on commit 98d5cfb

Please sign in to comment.