feat: Increment history shard size (#2844)

This commit is contained in:
rakita
2023-06-05 22:00:31 +02:00
committed by GitHub
parent a6147e7a85
commit 3bd26b0441
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ use reth_primitives::BlockNumber;
use serde::{Deserialize, Serialize};
/// Number of indices in one shard.
pub const NUM_OF_INDICES_IN_SHARD: usize = 100;
pub const NUM_OF_INDICES_IN_SHARD: usize = 2_000;
/// Sometimes data can be too big to be saved for a single key. This helps out by dividing the data
/// into different shards. Example:

View File

@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize};
use super::ShardedKey;
/// Number of indices in one shard.
pub const NUM_OF_INDICES_IN_SHARD: usize = 100;
pub const NUM_OF_INDICES_IN_SHARD: usize = 2_000;
/// Sometimes data can be too big to be saved for a single key. This helps out by dividing the data
/// into different shards. Example: