lib/noda/job_worker.rb in noda-0.0.11 vs lib/noda/job_worker.rb in noda-0.0.12
- old
+ new
@@ -15,10 +15,10 @@
attr_reader :thread
attr_accessor :max_retry_connect , :wait_time_to_retry
# * server_addr ジョブサーバーアドレス、またはホスト名
# * server_port ジョブサーバーポート
def initialize( server_addr="localhost",server_port="10001",q="" )
- @server_uri = "druby://#{server_addr}:#{server_port}/?#{q}"
+ @server_uri = "druby://#{server_addr}:#{server_port}"
@max_retry_connect = 30
@wait_time_to_retry = 2
require "socket"
@local_addr = IPSocket::getaddress(Socket::gethostname)
self.connect