mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
perf: disable readahead on slot-preimage MDBX environment (#23183)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
This commit is contained in:
@@ -48,6 +48,7 @@ impl SlotPreimages {
|
||||
builder.write_map();
|
||||
builder.set_flags(EnvironmentFlags {
|
||||
no_sub_dir: false,
|
||||
no_rdahead: true,
|
||||
mode: Mode::ReadWrite { sync_mode: SyncMode::Durable },
|
||||
..Default::default()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user