Skip to content

Commit bc426e1

Browse files
authored
Merge pull request #5543 from multiversx/enable-sharded-storage
Enable sharded storage for user accounts and peer accounts
2 parents 1dd8735 + 38f5d6d commit bc426e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/node/config/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@
324324
BatchDelaySeconds = 2
325325
MaxBatchSize = 45000
326326
MaxOpenFiles = 10
327+
ShardIDProviderType = "BinarySplit"
328+
NumShards = 4
327329

328330
[PeerAccountsTrieStorage]
329331
[PeerAccountsTrieStorage.Cache]
@@ -337,6 +339,8 @@
337339
BatchDelaySeconds = 2
338340
MaxBatchSize = 1000
339341
MaxOpenFiles = 10
342+
ShardIDProviderType = "BinarySplit"
343+
NumShards = 4
340344

341345
[AccountsTrieCheckpointsStorage]
342346
[AccountsTrieCheckpointsStorage.Cache]

0 commit comments

Comments
 (0)