This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 623
Adding New Configuration Parameters
Chen Luo edited this page Sep 13, 2017
·
2 revisions
With new setting manager, you can define new configurations and modify them in src/include/settings/settings.h, using macros SETTINGS_* which is similar to those in gflags.
`SETTINGS_int(name, description, default_value, is_mutable, is_persistent)`
`SETTINGS_int(port,
"Peloton port (default: 15721)",
15721,
false, false);`
More details can be found in src/settings/README.md