Skip to content

Commit

Permalink
Use pool instead of @thread_pool
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Aug 11, 2012
1 parent 9f53999 commit dac774e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puma/server.rb
Expand Up @@ -250,7 +250,7 @@ def handle_servers
break if handle_check
else
c = Client.new sock.accept, @envs.fetch(sock, @proto_env)
@thread_pool << c
pool << c
end
end
rescue Errno::ECONNABORTED
Expand Down

0 comments on commit dac774e

Please sign in to comment.