Skip to content

Commit 3894cb1

Browse files
wip
1 parent 62c3680 commit 3894cb1

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,9 @@ hirofa_utils = "0.7"
5858
#hirofa_utils = {git = "https://github.com/HiRoFa/utils"}
5959
#hirofa_utils = { path = '../utils'}
6060

61-
libc = "0.2"
6261
lazy_static = "1.4.0"
6362
log = "0.4.8"
6463
simple-logging = "2.0.2"
65-
rand = "0.8"
66-
num_cpus = "1.0"
6764
backtrace = "0.3.56"
6865
url = "2.2.1"
6966
gpp = "0.6"

src/modules/util/cache/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ fn cache_cleanup() {
164164
}
165165
}
166166
}
167-
for (key, cache_to_clean) in to_clean {
167+
for (_key, cache_to_clean) in to_clean {
168168
let cache_lock = &mut *cache_to_clean.lock("cache_cleanup").unwrap();
169169

170170
cache_lock.invalidate_stale();
171-
171+
172172
}
173173
}
174174

0 commit comments

Comments
 (0)