Skip to content

Commit

Permalink
make MAX_PACKET_SIZE private, no reason for it to be public
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian8j2 committed Sep 25, 2024
1 parent 8a4d478 commit 79c052d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forwarder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use {
};

const EPOLL_EVENTS_CAPACITY: usize = 1024;
pub const MAX_PACKET_SIZE: usize = 65535;
const MAX_PACKET_SIZE: usize = 65535;
/// interval that cleanup happens, also lowering this result in lower allowed unused time
const CLEANUP_INTERVAL: Duration = Duration::from_secs(7 * 60);

Expand Down

0 comments on commit 79c052d

Please sign in to comment.