Skip to content

Commit 8f99f4b

Browse files
committed
add CongestionControl.BLOCK_FIRST
1 parent a1ce926 commit 8f99f4b

3 files changed

Lines changed: 29 additions & 27 deletions

File tree

Cargo.lock

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/qos.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ impl Priority {
4040
enum_mapper!(zenoh::qos::CongestionControl: u8 {
4141
Drop = 0,
4242
Block = 1,
43+
BlockFirst = 2
4344
});
4445

4546
#[pymethods]

zenoh/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class CongestionControl(Enum):
5757

5858
DROP = auto()
5959
BLOCK = auto()
60+
BLOCK_FIRST = auto()
6061

6162
DEFAULT = DROP
6263

0 commit comments

Comments
 (0)