Skip to content

Commit

Permalink
use reasonable egress queue size
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Dec 21, 2023
1 parent 8805bf7 commit 3bcfd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallas-network/src/multiplexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ type Egress = HashMap<Protocol, EgressChannel>;

type EgressChannel = tokio::sync::mpsc::Sender<Payload>;

const EGRESS_MSG_QUEUE_BUFFER: usize = 100_000;
const EGRESS_MSG_QUEUE_BUFFER: usize = 100;

pub struct Demuxer(BearerReadHalf, Egress);

Expand Down

0 comments on commit 3bcfd10

Please sign in to comment.