lib/reel/server/http.rb in reel-0.5.0 vs lib/reel/server/http.rb in reel-0.6.0.pre1
- old
+ new
@@ -8,10 +8,10 @@
# @param [Fixnum] port to bind to
# @option options [Fixnum] backlog of requests to accept
#
# @return [Reel::Server::HTTP] Reel HTTP server actor
def initialize(host, port, options={}, &callback)
- optimize server = Celluloid::IO::TCPServer.new(host, port)
+ server = Celluloid::IO::TCPServer.new(host, port)
options.merge!(host: host, port: port)
super(server, options, &callback)
end
end