Tidy up imports/requires to use Zeitwerk

This commit is contained in:
Charles Care
2019-10-14 15:39:18 +01:00
parent c9deab23c7
commit e837b6f5d7
11 changed files with 126 additions and 114 deletions

View File

@@ -18,7 +18,7 @@ class PipelineClient
def open_socket
@socket = context.socket(ZMQ::REQ)
@socket.setsockopt(ZMQ::LINGER, 0)
@socket.connect("tcp://localhost:5566")
@socket.connect("tcp://localhost:5555")
end
def close_socket

View File

@@ -8,5 +8,5 @@ worker_identity = ARGV[0]
channel_address = ARGV[1]
env_base = ARGV[2]
server = Pipeline::Rpc::Worker.new(worker_identity, channel_address, env_base)
server.listen
daemon = Pipeline::Rpc::Worker::Daemon.new(worker_identity, channel_address, env_base)
daemon.listen