diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-01-28 11:29:27 -0500 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-01-28 11:29:27 -0500 |
commit | 834b38e3e742f99b682311f61afc223407eca757 (patch) | |
tree | 6988a13aca467dc0d8190553a803c4a578fffe5f /node.go | |
parent | Merge pull request #290 from pmcgrath/deadcode (diff) | |
download | dedo-834b38e3e742f99b682311f61afc223407eca757.tar.gz dedo-834b38e3e742f99b682311f61afc223407eca757.tar.xz |
Fix mmap resize calculation.
This commit fixes an issue where the database would grow whenever it was opened. This was caused by
a recent change that performed a truncation when the database grew. Now there are fixed growth sizes
for the database (1MB, 2MB, 4MB, 8MB, etc) up to 1GB and then the database will grow by 1GB when it
resizes.
See also: 6bb25854a183f3d3bfa50096f910d3a3984e9834
Diffstat (limited to 'node.go')
0 files changed, 0 insertions, 0 deletions