Skip to content

Commit

Permalink
Bump channel size
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Sep 24, 2024
1 parent 7640afd commit 1b2f186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Publisher {
min_seconds_between_messages: NonZeroUsize,
) -> Result<Self, PublisherError> {
let (publication_sender, mut publication_receiver) =
mpsc::channel::<Box<FollowChange>>(2000);
mpsc::channel::<Box<FollowChange>>(20000);

let mut buffer = NotificationFactory::new(min_seconds_between_messages);
tokio::spawn(async move {
Expand Down

0 comments on commit 1b2f186

Please sign in to comment.