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

Method RegisterRequest

library/cpp/neh/multiclient.cpp:308–314  ·  view source on GitHub ↗

used only from Wait()

Source from the content-addressed store, hash-verified

306
307 //used only from Wait()
308 void RegisterRequest(TRequestSupervisor* rs) {
309 if (rs->Deadline() != TInstant::Max()) {
310 RS_.Insert(rs);
311 } else {
312 rs->ResetRequest(); //prevent blocking destruction 'endless' requests
313 }
314 }
315
316 void CleanQueue() {
317 TAutoPtr<IJob> j;

Callers 1

OnEndProcessRequestMethod · 0.80

Calls 4

ResetRequestMethod · 0.80
MaxFunction · 0.50
DeadlineMethod · 0.45
InsertMethod · 0.45

Tested by

no test coverage detected