From 7a9d753e53aaa945881f445b5cc375d8d7f2e3d4 Mon Sep 17 00:00:00 2001 From: ihciah Date: Wed, 24 Nov 2021 17:41:26 +0800 Subject: [PATCH] change default packet size --- config/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/src/lib.rs b/config/src/lib.rs index 71ccb9d..db94250 100644 --- a/config/src/lib.rs +++ b/config/src/lib.rs @@ -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)]