MCPcopy Create free account
hub / github.com/catboost/catboost / OnFail

Method OnFail

library/cpp/neh/stat.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void NNeh::TServiceStat::OnFail() {
53 RequestsInProcess_.Dec();
54 if (AtomicIncrement(LastContinuousErrors_) == AtomicGet(MaxContinuousErrors_)) {
55 AtomicSet(SendValidatorCounter_, 0);
56 }
57}
58
59namespace {
60 class TGlobalServicesStat {

Callers 1

NotifyMethod · 0.45

Calls 4

AtomicIncrementFunction · 0.50
AtomicGetFunction · 0.50
AtomicSetFunction · 0.50
DecMethod · 0.45

Tested by

no test coverage detected