increases block cache size

This commit is contained in:
Ben 2024-03-22 14:16:55 +01:00
parent 7d28b62206
commit 042285e664
No known key found for this signature in database
GPG Key ID: 541B9D8C9F1426A1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{ {
public delegate void CacheClearedEvent(); public delegate void CacheClearedEvent();
private const int MaxEntries = 1024; private const int MaxEntries = 1024 * 1024 * 5;
private readonly Dictionary<ulong, BlockTimeEntry> entries = new Dictionary<ulong, BlockTimeEntry>(); private readonly Dictionary<ulong, BlockTimeEntry> entries = new Dictionary<ulong, BlockTimeEntry>();
public event CacheClearedEvent? OnCacheCleared; public event CacheClearedEvent? OnCacheCleared;