parent
af03d18cc1
commit
abc828f8ef
|
@ -1354,7 +1354,7 @@ void updateRate(RatekeeperData* self, RatekeeperLimits* limits) {
|
||||||
limits->reasonMetric = limitReason;
|
limits->reasonMetric = limitReason;
|
||||||
|
|
||||||
if (deterministicRandom()->random01() < 0.1) {
|
if (deterministicRandom()->random01() < 0.1) {
|
||||||
std::string name = limits->rkUpdateEventCacheHolder.getPtr()->trackingKey;
|
const std::string& name = limits->rkUpdateEventCacheHolder.getPtr()->trackingKey;
|
||||||
TraceEvent(name.c_str(), self->id)
|
TraceEvent(name.c_str(), self->id)
|
||||||
.detail("TPSLimit", limits->tpsLimit)
|
.detail("TPSLimit", limits->tpsLimit)
|
||||||
.detail("Reason", limitReason)
|
.detail("Reason", limitReason)
|
||||||
|
|
Loading…
Reference in New Issue