mirror of
https://github.com/wassname/ray.git
synced 2026-07-11 21:43:06 +08:00
Remove objstore_stub_ (#176)
This commit is contained in:
+1
-2
@@ -21,8 +21,7 @@ Status WorkerServiceImpl::ExecuteTask(ServerContext* context, const ExecuteTaskR
|
||||
|
||||
Worker::Worker(const std::string& worker_address, std::shared_ptr<Channel> scheduler_channel, std::shared_ptr<Channel> objstore_channel)
|
||||
: worker_address_(worker_address),
|
||||
scheduler_stub_(Scheduler::NewStub(scheduler_channel)),
|
||||
objstore_stub_(ObjStore::NewStub(objstore_channel)) {
|
||||
scheduler_stub_(Scheduler::NewStub(scheduler_channel)) {
|
||||
receive_queue_.connect(worker_address_, true);
|
||||
connected_ = true;
|
||||
}
|
||||
|
||||
@@ -92,7 +92,6 @@ class Worker {
|
||||
bool connected_;
|
||||
const size_t CHUNK_SIZE = 8 * 1024;
|
||||
std::unique_ptr<Scheduler::Stub> scheduler_stub_;
|
||||
std::unique_ptr<ObjStore::Stub> objstore_stub_;
|
||||
std::thread worker_server_thread_;
|
||||
MessageQueue<Task*> receive_queue_;
|
||||
managed_shared_memory segment_;
|
||||
|
||||
Reference in New Issue
Block a user