Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(conf): use DSN_DEFINE_uint32 to load uint32 type of configs #1352

Merged
merged 4 commits into from
Feb 15, 2023

Conversation

acelyc111
Copy link
Member

#1323

This patch refactor the code to use DSN_DEFINE_uint32 instead of dsn_config_get_value_uint64 to load uint32 type of configurations, and doesn't introduce any functional changes.

  • all default value and most of description are kept as before
  • move the defination of flags closer to the places where they're used

levy5307
levy5307 previously approved these changes Feb 15, 2023
src/meta/test/main.cpp Outdated Show resolved Hide resolved
src/runtime/rpc/network.sim.cpp Outdated Show resolved Hide resolved
src/runtime/rpc/rpc_message.cpp Outdated Show resolved Hide resolved
Co-authored-by: Dan Wang <wangdan@apache.org>
acelyc111 and others added 2 commits February 15, 2023 12:35
Co-authored-by: Dan Wang <wangdan@apache.org>
Co-authored-by: Dan Wang <wangdan@apache.org>
@acelyc111 acelyc111 merged commit 4c76112 into apache:master Feb 15, 2023
@empiredan empiredan mentioned this pull request Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants