Skip to content

Commit

Permalink
Downsize HashNodeCache
Browse files Browse the repository at this point in the history
  • Loading branch information
OnedgeLee committed Feb 6, 2025
1 parent 232ee7f commit 1ddde11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Libplanet.Store/HashNodeCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Libplanet.Store
public class HashNodeCache
{
// FIXME: Tuned to 9c mainnet. Should be refactored to accept cache size as an argument.
private const int _cacheSize = 524_288;
private const int _cacheSize = 1_024;

private ICache<HashDigest<SHA256>, IValue> _cache;

Expand Down

0 comments on commit 1ddde11

Please sign in to comment.