Class | TCPServer |
In: |
lib/mongrel/tcphack.rb
lib/mongrel/tcphack.rb |
Parent: | Object |
A modification proposed by Sean Treadway that increases the default accept queue of TCPServer to 1024 so that it handles more concurrent requests.
initialize | -> | initialize_without_backlog |
# File lib/mongrel/tcphack.rb, line 11 11: def initialize_with_backlog(*args) 12: initialize_without_backlog(*args) 13: listen(1024) 14: end