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

Method CheckLimits

library/cpp/neh/http2.cpp:949–958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

947 }
948
949 inline void CheckLimits() {
950 if (ExceedSoftLimit()) {
951 SuggestPurgeCache();
952
953 if (ExceedHardLimit()) {
954 Y_ABORT("neh::http2 output connections limit reached");
955 //ythrow yexception() << "neh::http2 output connections limit reached";
956 }
957 }
958 }
959
960 inline bool Get(THttpConnRef& conn, size_t addrId) {
961#ifdef DEBUG_STAT

Callers 1

RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected