mdbx-test: default test-db size 4mb or 256mb.

Change-Id: I306cb76f1740422888814687f69fa7766ee4fba6
This commit is contained in:
Leonid Yuriev 2018-08-31 20:04:40 +03:00 committed by Leo Yuriev
parent 3cf6bc0639
commit 6be164a45b

View File

@ -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;