Skip to content

Commit

Permalink
fix #7
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Dec 6, 2021
1 parent 4f37bfe commit aa160d1
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.4.0"
version = "1.4.1"
description = "Rust async log High-performance asynchronous logging"
readme = "Readme.md"
authors = ["ce <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/file_split.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ impl LogAppender for FileSplitAppender {

///spawn an saver thread to save log file or zip file
fn spawn_saver(r: Receiver<LogPack>, packer: Box<dyn Packer>) {
go!(move || {
std::thread::spawn(move || {
loop {
if let Ok(pack) = r.recv() {
//do rolling
Expand Down

0 comments on commit aa160d1

Please sign in to comment.