File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
client_libraries/traffic_monitor Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " nullnet-traffic-monitor"
3
- version = " 0.1.4 "
3
+ version = " 0.1.5 "
4
4
edition = " 2024"
5
5
authors = [
" Giuliano Bellini <[email protected] >" ]
6
6
repository = " https://github.com/NullNet-ai/libguard"
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ pub struct PacketInfo {
33
33
/// A receiver channel for receiving captured packets
34
34
#[ must_use]
35
35
pub fn monitor_devices ( monitor_config : & MonitorConfig ) -> Receiver < PacketInfo > {
36
- let ( tx, rx) = async_channel:: unbounded ( ) ;
36
+ let ( tx, rx) = async_channel:: bounded ( 10_000 ) ;
37
37
38
38
let bpf_program = bpf_program ( & monitor_config. addr ) ;
39
39
for device in Device :: list ( ) . into_iter ( ) . flatten ( ) {
You can’t perform that action at this time.
0 commit comments