Skip to content

Commit

Permalink
Change -cache_commit_increment to uint_size to accept prefixes (#3506)
Browse files Browse the repository at this point in the history
Updates the -cache_commit_increment option which was accidentally a
"uint" to be a "uint_size" option, so we can specify K and M prefixes
for much easier use.
  • Loading branch information
derekbruening authored and Hendrik Greving committed Apr 5, 2019
1 parent 4afa601 commit 2461757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/optionsx.h
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ DYNAMIC_OPTION(bool, pause_via_loop,
/* heap_commit_increment may be adjusted by adjust_defaults_for_page_size(). */
OPTION_DEFAULT(uint_size, heap_commit_increment, 4*1024, "heap commit increment")
/* cache_commit_increment may be adjusted by adjust_defaults_for_page_size(). */
OPTION_DEFAULT(uint, cache_commit_increment, 4*1024, "cache commit increment")
OPTION_DEFAULT(uint_size, cache_commit_increment, 4*1024, "cache commit increment")

/* cache capacity control
* FIXME: these are external for now while we study the right way to
Expand Down

0 comments on commit 2461757

Please sign in to comment.