Apply suggestions.
This commit is contained in:
parent
82be496ba3
commit
f3baedd27f
|
@ -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; });
|
||||||
|
|
Loading…
Reference in New Issue