diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-20 00:16:09 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-06-30 00:51:49 +0800 |
commit | 855e76fddd8c5f0e024a536c0466f7578fcb592d (patch) | |
tree | 464a0c3561a881c554bcfc33f8965a1f85c2c7a0 | |
parent | 4d117478368d6badf8d0e527f5bfd5bb6386deaa (diff) | |
download | dexon-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar dexon-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.gz dexon-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.bz2 dexon-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.lz dexon-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.xz dexon-855e76fddd8c5f0e024a536c0466f7578fcb592d.tar.zst dexon-855e76fddd8c5f0e024a536c0466f7578fcb592d.zip |
core: reduced cache limit to 256
-rw-r--r-- | core/chain_manager.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go index e67439bb6..3adaf3344 100644 --- a/core/chain_manager.go +++ b/core/chain_manager.go @@ -36,7 +36,7 @@ var ( ) const ( - blockCacheLimit = 10000 + blockCacheLimit = 256 maxFutureBlocks = 256 maxTimeFutureBlocks = 30 ) |