mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 02:04:13 +08:00
mdbx-test: default test-db size 4mb or 256mb.
Change-Id: I306cb76f1740422888814687f69fa7766ee4fba6
This commit is contained in:
parent
3cf6bc0639
commit
6be164a45b
@ -37,7 +37,7 @@ void actor_params::set_defaults(const std::string &tmpdir) {
|
||||
table_flags = MDBX_DUPSORT;
|
||||
|
||||
size_lower = -1;
|
||||
size_now = 1024 * 1024 * 4;
|
||||
size_now = 1024 * 1024 * ((table_flags & MDBX_DUPSORT) ? 4 : 256);
|
||||
size_upper = -1;
|
||||
shrink_threshold = -1;
|
||||
growth_step = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user