Apply suggestions.

This commit is contained in:
Yao Xiao 2021-08-04 13:51:56 -07:00
parent 82be496ba3
commit f3baedd27f
1 changed files with 2 additions and 2 deletions

View File

@ -116,10 +116,10 @@ struct GrvProxyStats {
recentRequests(0), lastBucketBegin(now()), recentRequests(0), lastBucketBegin(now()),
bucketInterval(FLOW_KNOBS->BASIC_LOAD_BALANCE_UPDATE_RATE / FLOW_KNOBS->BASIC_LOAD_BALANCE_BUCKETS), bucketInterval(FLOW_KNOBS->BASIC_LOAD_BALANCE_UPDATE_RATE / FLOW_KNOBS->BASIC_LOAD_BALANCE_BUCKETS),
grvConfirmEpochLiveDist(Histogram::getHistogram(LiteralStringRef("GrvProxy"), grvConfirmEpochLiveDist(Histogram::getHistogram(LiteralStringRef("GrvProxy"),
LiteralStringRef("grvConfirmEpochLive"), LiteralStringRef("GrvConfirmEpochLive"),
Histogram::Unit::microseconds)), Histogram::Unit::microseconds)),
grvGetCommittedVersionRpcDist(Histogram::getHistogram(LiteralStringRef("GrvProxy"), grvGetCommittedVersionRpcDist(Histogram::getHistogram(LiteralStringRef("GrvProxy"),
LiteralStringRef("grvGetCommittedVersionRpc"), LiteralStringRef("GrvGetCommittedVersionRpc"),
Histogram::Unit::microseconds)) { Histogram::Unit::microseconds)) {
// The rate at which the limit(budget) is allowed to grow. // The rate at which the limit(budget) is allowed to grow.
specialCounter(cc, "SystemGRVQueueSize", [this]() { return this->systemGRVQueueSize; }); specialCounter(cc, "SystemGRVQueueSize", [this]() { return this->systemGRVQueueSize; });