mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-05 00:04:23 +01:00
Remove cache clearing in cacheflush
This commit is contained in:
@@ -805,10 +805,6 @@ impl Pager {
|
||||
)?;
|
||||
page.clear_dirty();
|
||||
}
|
||||
{
|
||||
let mut cache = self.page_cache.write();
|
||||
cache.clear().unwrap();
|
||||
}
|
||||
self.dirty_pages.borrow_mut().clear();
|
||||
self.flush_info.borrow_mut().state = CacheFlushState::WaitAppendFrames;
|
||||
return Ok(IOResult::IO);
|
||||
|
||||
Reference in New Issue
Block a user