Skip to content

Commit

Permalink
Merge pull request #158 from we-lsp/reduce_logs
Browse files Browse the repository at this point in the history
feat: 精简错误日志
  • Loading branch information
qyzhg authored May 31, 2024
2 parents 79d2062 + 23e4a8e commit 7722d80
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "atomic-bomb-engine-py"
version = "0.41.1"
version = "0.41.2"
edition = "2021"

[lib]
Expand All @@ -10,7 +10,7 @@ crate-type = ["cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
atomic-bomb-engine = "0.41.0"
atomic-bomb-engine = "0.41.1"
#atomic-bomb-engine = { git = "https://github.com/we-lsp/atomic-bomb-engine.git", branch = "ExponentialMovingAverage"}
tokio = "1.36.0"
pyo3-asyncio = { version = "0.20.0", features = ["tokio-runtime", "async-std"] }
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "atomic_bomb_engine"
version = "0.41.1"
version = "0.41.2"
description = "使用rust开发的高性能python压测工具"
license = "MIT"
readme = "README.md"
Expand Down
3 changes: 1 addition & 2 deletions src/py_lib/batch_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ impl BatchRunner {

match next_stream {
Some(Ok(result)) => {

if result.is_none() {
let done = slf.is_done.clone();
slf.runtime.block_on(async {
Expand Down Expand Up @@ -180,7 +179,7 @@ impl BatchRunner {
*done_lock = true;
});
Ok(None)
},
}
}
}
None => {
Expand Down

0 comments on commit 7722d80

Please sign in to comment.