mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-03 18:59:10 -07:00
global: fixes
This commit is contained in:
@@ -122,8 +122,7 @@ where
|
||||
|
||||
fn file_write_all(&mut self, file: &mut File, buf: &[u8]) -> Result<()> {
|
||||
file.write_all(buf)?;
|
||||
// file.flush()?;
|
||||
file.sync_data()?;
|
||||
file.flush()?;
|
||||
self.update_mmap(file)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user