Class: TCPServer
- Inherits:
 - 
      Object
      
        
- Object
 - TCPServer
 
 
- Defined in:
 - lib/mongrel/tcphack.rb
 
Overview
A modification proposed by Sean Treadway that increases the default accept queue of TCPServer to 1024 so that it handles more concurrent requests.
Instance Method Summary collapse
- #initialize_with_backlog(*args) ⇒ Object (also: #initialize)
 
Instance Method Details
#initialize_with_backlog(*args) ⇒ Object Also known as: initialize
      11 12 13 14  | 
    
      # File 'lib/mongrel/tcphack.rb', line 11 def initialize_with_backlog(*args) initialize_without_backlog(*args) listen(1024) end  |