diff --git a/Cargo.lock b/Cargo.lock index d5879e1..6e183ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -263,7 +263,7 @@ dependencies = [ [[package]] name = "drcom4scut" -version = "0.2.2" +version = "0.2.3" dependencies = [ "bytes", "chrono", diff --git a/Cargo.toml b/Cargo.toml index b125e29..a74664d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "drcom4scut" -version = "0.2.2" +version = "0.2.3" authors = ["SeaLoong <984391132@qq.com>"] edition = "2018" description = "A 3rd-party Drcom client for SCUT." diff --git a/src/main.rs b/src/main.rs index aa0a5b6..dc321e9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,7 +64,7 @@ fn init_logger(settings: &Settings) { .build( directory.clone() + "/latest.log", Box::new(CompoundPolicy::new( - Box::new(SizeTrigger::new(1 << 22)), + Box::new(SizeTrigger::new(1 << 20)), Box::new( FixedWindowRoller::builder() .base(1)