Skip to content

Commit

Permalink
chore: v0.3.1
Browse files Browse the repository at this point in the history
fix rogue print
  • Loading branch information
DevBlocky committed May 16, 2021
1 parent 3cd62d4 commit 1694a00
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "forceps"
version = "0.3.0"
version = "0.3.1"
authors = ["Jacob Parker <blocckba5her@gmail.com>"]
description = "An easy-to-use async & on-disk database"
readme = "README.md"
Expand Down
1 change: 0 additions & 1 deletion src/mem_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ impl MemCacheInner {
let updated_sz = self.current.fetch_add(v_sz, Ordering::SeqCst) + v_sz;

// if the new size is greater than the cap, start evicting items
println!("{} / {}", updated_sz, self.cap);
if updated_sz > self.cap {
self.evict(&mut guard, updated_sz);
}
Expand Down

0 comments on commit 1694a00

Please sign in to comment.