Skip to content

Commit

Permalink
feat: allow serializer overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Sep 16, 2024
1 parent 91805a8 commit 714e584
Show file tree
Hide file tree
Showing 6 changed files with 283 additions and 175 deletions.
2 changes: 1 addition & 1 deletion examples/z_pub_thr.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def main(conf: zenoh.Config, payload_size: int):
data = bytearray()
for i in range(0, payload_size):
data.append(i % 10)
data = zenoh.ZBytes(bytes(data))
data = zenoh.ZBytes(data)
congestion_control = zenoh.CongestionControl.BLOCK

with zenoh.open(conf) as session:
Expand Down
Loading

0 comments on commit 714e584

Please sign in to comment.