Skip to content

Commit

Permalink
change default packet size
Browse files Browse the repository at this point in the history
  • Loading branch information
ihciah committed Nov 24, 2021
1 parent 6bf3fa3 commit 7a9d753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use clap::Parser;

// in Byte
pub const PACKET_SIZE: usize = 10;
// 100ms
pub const PACKET_SIZE: usize = 1024;
// 1s/10 = 100ms
pub const COUNT_GRAIN_PRE_SEC: u32 = 10;

#[derive(Parser, Debug, Clone, PartialEq)]
Expand Down

0 comments on commit 7a9d753

Please sign in to comment.