mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-06 16:54:23 +01:00
add todo for cache invalidation
This commit is contained in:
@@ -413,6 +413,7 @@ impl Pager {
|
||||
Err(err) => panic!("error while clearing cache {}", err),
|
||||
}
|
||||
}
|
||||
// TODO: only clear cache of things that are really invalidated
|
||||
self.page_cache.write().unwrap().clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user