diff options
author | Gyu-Ho Lee <gyuhox@gmail.com> | 2015-12-21 15:28:44 -0800 |
---|---|---|
committer | Gyu-Ho Lee <gyuhox@gmail.com> | 2015-12-21 15:36:00 -0800 |
commit | 082efcc23e41f42d15f9e90f4e079fdb793e997f (patch) | |
tree | a88f0fb9f747a01a256e9dc33b8f7a99bd78a789 /cursor_test.go | |
parent | Merge pull request #470 from ReadmeCritic/master (diff) | |
download | dedo-082efcc23e41f42d15f9e90f4e079fdb793e997f.tar.gz dedo-082efcc23e41f42d15f9e90f4e079fdb793e997f.tar.xz |
Introduce InitialMmapSize to prevent deadlock
InitialMmapSize is the initial mmap size of the database in bytes.
Read transaction won't block write transaction if InitialMmapSize
is large enough to handle mmap size.
Copied from https://github.com/boltdb/bolt/pull/432.
Diffstat (limited to 'cursor_test.go')
0 files changed, 0 insertions, 0 deletions