Merge pull request #23352 from jcsp/wip-25197

mgrc: enable disabling stats via mgr_stats_threshold

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2018-08-03 21:01:07 +08:00 committed by GitHub
commit 0297369b99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4761,7 +4761,7 @@ std::vector<Option> get_global_options() {
.set_long_description("Daemons only set perf counter data to the manager "
"daemon if the counter has a priority higher than this.")
.set_min_max((int64_t)PerfCountersBuilder::PRIO_DEBUGONLY,
(int64_t)PerfCountersBuilder::PRIO_CRITICAL),
(int64_t)PerfCountersBuilder::PRIO_CRITICAL + 1),
Option("journal_zero_on_create", Option::TYPE_BOOL, Option::LEVEL_DEV)
.set_default(false)