Skip to content

Commit

Permalink
opt performance
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Sep 25, 2021
1 parent 8a35c6b commit 5d27f21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ members = [

[package]
name = "fast_log"
version = "1.3.28"
version = "1.3.29"
description = "Rust async log High-performance asynchronous logging"
readme = "Readme.md"
authors = ["ce <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion src/fast_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ pub fn init_custom_log(
let mut recvs = vec![];
let mut sends = vec![];
for idx in 0..appenders.len() {
let (s, r) = crossbeam_channel::unbounded();
let (s, r) = crossbeam_channel::bounded(log_cup*10);
recvs.push(r);
sends.push(s);
}
Expand Down

0 comments on commit 5d27f21

Please sign in to comment.