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

Method CancelQuery

library/cpp/par/par_remote.cpp:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111
112 void TRemoteQueryProcessor::CancelQuery(const TGUID& reqId) {
113 CHROMIUM_TRACE_FUNCTION();
114 PAR_DEBUG_LOG << "At " << Requester->GetHostAndPort() << " cancel query: " << GetGuidAsString(reqId) << Endl;
115 Requester->CancelRequest(reqId);
116 }
117
118 void TRemoteQueryProcessor::RegisterCmdType(const char* sz, ICmdProcessor* p) {
119 Y_ASSERT(Requester.Get() == nullptr && "function is not thread safe, should be called before RunThread()");

Callers 1

Calls 3

GetGuidAsStringFunction · 0.85
GetHostAndPortMethod · 0.80
CancelRequestMethod · 0.45

Tested by

no test coverage detected