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

Method SetNearDeadline

library/cpp/neh/multiclient.cpp:301–305  ·  view source on GitHub ↗

return true, if deadline re-installed to more late time

Source from the content-addressed store, hash-verified

299
300 //return true, if deadline re-installed to more late time
301 bool SetNearDeadline(const TInstant& deadline) {
302 bool deadlineMovedFurther = deadline.GetValue() > GetNearDeadline_();
303 SetNearDeadline_(deadline.GetValue());
304 return deadlineMovedFurther;
305 }
306
307 //used only from Wait()
308 void RegisterRequest(TRequestSupervisor* rs) {

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.45

Tested by

no test coverage detected