Skip to content

Commit

Permalink
refactor(collation-manager): async queue tasks buffer set to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
SmaGMan committed Jun 24, 2024
1 parent 1e2a4e3 commit 87db694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collator/src/utils/async_queued_dispatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use tokio::sync::{mpsc, oneshot};
use super::task_descr::{TaskDesc, TaskResponder};
use crate::tracing_targets;

pub const STANDARD_DISPATCHER_QUEUE_BUFFER_SIZE: usize = 10;
pub const STANDARD_DISPATCHER_QUEUE_BUFFER_SIZE: usize = 100;

type AsyncTaskDesc<W, R> = TaskDesc<
dyn FnOnce(W) -> Pin<Box<dyn Future<Output = (W, Result<R>)> + Send>> + Send,
Expand Down

0 comments on commit 87db694

Please sign in to comment.