Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dap-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dap
dap-sdk
Merge requests
!247
Hotfix 11210
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Hotfix 11210
hotfix-11210
into
master
Overview
0
Commits
3
Pipelines
1
Changes
2
Merged
Constantin P.
requested to merge
hotfix-11210
into
master
9 months ago
Overview
0
Commits
3
Pipelines
1
Changes
2
Expand
👍
0
👎
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
0a6392fa
3 commits,
9 months ago
2 files
+
61
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
global-db/dap_global_db_driver_mdbx.c
+
2
−
2
Options
@@ -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
=
1
6
;
size_t
l_upper_limit_of_db_size
=
25
6
;
/*
* [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