forked from slonk/bingus-blog
main #1
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ impl Cache {
|
||||||
let old_size = self.0.len();
|
let old_size = self.0.len();
|
||||||
let mut i = 0;
|
let mut i = 0;
|
||||||
|
|
||||||
|
// TODO: multithread
|
||||||
self.0
|
self.0
|
||||||
.retain_async(|k, v| {
|
.retain_async(|k, v| {
|
||||||
if get_mtime(k).is_some_and(|mtime| mtime == v.mtime) {
|
if get_mtime(k).is_some_and(|mtime| mtime == v.mtime) {
|
||||||
|
|
Loading…
Reference in a new issue