mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
Compile boost from source to fix macOS wheels (#1688)
This commit is contained in:
committed by
Robert Nishihara
parent
91464a56dd
commit
5ef0892236
@@ -86,7 +86,9 @@ void ObjectManager::SchedulePull(const ObjectID &object_id, int wait_ms) {
|
||||
pull_requests_[object_id] = Timer(new boost::asio::deadline_timer(
|
||||
io_service_, boost::posix_time::milliseconds(wait_ms)));
|
||||
pull_requests_[object_id]->async_wait(
|
||||
boost::bind(&ObjectManager::SchedulePullHandler, this, object_id));
|
||||
[this, object_id](const boost::system::error_code &error_code) {
|
||||
RAY_CHECK_OK(SchedulePullHandler(object_id));
|
||||
});
|
||||
}
|
||||
|
||||
ray::Status ObjectManager::SchedulePullHandler(const ObjectID &object_id) {
|
||||
|
||||
@@ -16,7 +16,7 @@ class LineageCacheEntry {
|
||||
private:
|
||||
// TODO(swang): This should be an enum of the state of the entry - goes from
|
||||
// completely local, to dirty, to in flight, to committed.
|
||||
bool dirty_;
|
||||
// bool dirty_;
|
||||
};
|
||||
|
||||
class LineageCacheTaskEntry : public LineageCacheEntry {};
|
||||
|
||||
Reference in New Issue
Block a user