Skip to content
Snippets Groups Projects

Hotfix 11210

Merged Constantin P. requested to merge hotfix-11210 into master
2 files
+ 61
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -364,14 +364,14 @@ MDBX_cursor *l_cursor;
MDBX_val l_key_iov, l_data_iov;
dap_list_t *l_slist = NULL;
char *l_cp;
size_t l_upper_limit_of_db_size = 16;
size_t l_upper_limit_of_db_size = 256;
/*
* [resources]
* mdbx_upper_limit_of_db_size=32
*/
l_upper_limit_of_db_size = dap_config_get_item_uint32_default ( g_config, "resources", "mdbx_upper_limit_of_db_size", l_upper_limit_of_db_size);
l_upper_limit_of_db_size *= 1024*1024*1024ULL;
l_upper_limit_of_db_size *= 1024*1024ULL;
log_it(L_INFO, "Set MDBX Upper Limit of DB Size to %zu octets", l_upper_limit_of_db_size);
snprintf(s_db_path, sizeof(s_db_path), "%s/%s", a_mdbx_path, s_subdir );/* Make a path to MDBX root */
Loading