Skip to content

Commit

Permalink
starknet: increase database size to 512Gb
Browse files Browse the repository at this point in the history
**Summary**
The mainnet database is getting closer to 256Gb, so it's time to bump
the maximum size again.
  • Loading branch information
fracek committed Jan 27, 2024
1 parent d7c5bce commit abbe7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starknet/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ where
fs::create_dir_all(&self.datadir).map_err(StarkNetNodeBuilderError::CreateDatadir)?;

let db = Environment::<E>::builder()
.with_size_gib(10, 256)
.with_size_gib(10, 512)
.with_growth_step_gib(2)
.open(&self.datadir)
.map_err(StarkNetNodeBuilderError::DatabaseOpen)?;
Expand Down

0 comments on commit abbe7ca

Please sign in to comment.