Navigation Menu

Skip to content

Commit

Permalink
droonga-engine: use configured host/port values
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 5, 2015
1 parent c790bb5 commit 376d64e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/droonga/command/droonga_engine.rb
Expand Up @@ -198,7 +198,7 @@ def add_command_line_options(parser)
end

def listen_socket
@listen_socket ||= TCPServer.new(@host, @port)
@listen_socket ||= TCPServer.new(host, port)
end

def heartbeat_socket
Expand Down Expand Up @@ -319,7 +319,7 @@ def add_notification_options(parser)

def bind_heartbeat_socket
socket = UDPSocket.new(address_family)
socket.bind(@host, @port)
socket.bind(host, port)
socket
end
end
Expand Down

0 comments on commit 376d64e

Please sign in to comment.