Skip to content

Commit

Permalink
Send Declare and OAM messages with Control priority (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart authored Sep 27, 2024
1 parent af3ac7b commit 3964d5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commons/zenoh-protocol/src/network/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,13 @@ pub mod ext {

pub const DEFAULT: Self = Self::new(Priority::DEFAULT, CongestionControl::DEFAULT, false);

pub const DECLARE: Self = Self::new(Priority::DEFAULT, CongestionControl::Block, false);
pub const DECLARE: Self = Self::new(Priority::Control, CongestionControl::Block, false);
pub const PUSH: Self = Self::new(Priority::DEFAULT, CongestionControl::Drop, false);
pub const REQUEST: Self = Self::new(Priority::DEFAULT, CongestionControl::Block, false);
pub const RESPONSE: Self = Self::new(Priority::DEFAULT, CongestionControl::Block, false);
pub const RESPONSE_FINAL: Self =
Self::new(Priority::DEFAULT, CongestionControl::Block, false);
pub const OAM: Self = Self::new(Priority::DEFAULT, CongestionControl::Block, false);
pub const OAM: Self = Self::new(Priority::Control, CongestionControl::Block, false);

pub const fn new(
priority: Priority,
Expand Down

0 comments on commit 3964d5a

Please sign in to comment.