mirror of
https://github.com/wassname/ray.git
synced 2026-07-08 21:34:50 +08:00
Set progress report interval for bazel explicitly (#6262)
* set progress internval * add keep alive * add keepalive * remove cat * smaller time * squash error * reduce log spam
This commit is contained in:
@@ -264,8 +264,9 @@ void CoreWorker::ReportActiveObjectIDs() {
|
||||
std::unordered_set<ObjectID> active_object_ids =
|
||||
reference_counter_->GetAllInScopeObjectIDs();
|
||||
RAY_LOG(DEBUG) << "Sending " << active_object_ids.size() << " object IDs to raylet.";
|
||||
if (active_object_ids.size() > RayConfig::instance().raylet_max_active_object_ids()) {
|
||||
RAY_LOG(WARNING) << active_object_ids.size() << " object IDs are currently in scope.";
|
||||
auto max_active = RayConfig::instance().raylet_max_active_object_ids();
|
||||
if (max_active && active_object_ids.size() > max_active) {
|
||||
RAY_LOG(INFO) << active_object_ids.size() << " object IDs are currently in scope.";
|
||||
}
|
||||
|
||||
if (!raylet_client_->ReportActiveObjectIDs(active_object_ids).ok()) {
|
||||
|
||||
Reference in New Issue
Block a user