public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Search Repo:
Align code to make more pretty
macournoyer (author)
Thu Feb 21 11:49:36 -0800 2008
commit  b21e9003cddb8726eb143106a93d8b259b187163
tree    f966ace34c78d4b364919a3ea5fd9cf1080b3f0f
parent  adb74dfa1540eb56a88afaf692bdba40911d59ee
...
96
97
98
99
100
101
 
 
 
102
103
104
 
 
105
106
107
...
96
97
98
 
 
 
99
100
101
102
 
 
103
104
105
106
107
0
@@ -96,12 +96,12 @@
0
         
0
         opts.on("-t", "--timeout SEC", "Request or command timeout in sec " +
0
                                        "(default: #{@options[:timeout]})") { |sec| @options[:timeout] = sec.to_i }
0
- opts.on( "--max-conns NUM",
0
- "Maximum number of connections (default: #{@options[:max_conns]})",
0
- "Might require sudo to set higher then 1024") { |num| @options[:max_conns] = num.to_i } unless Thin.win?
0
+ opts.on( "--max-conns NUM", "Maximum number of connections " +
0
+ "(default: #{@options[:max_conns]})",
0
+ "Might require sudo to set higher then 1024") { |num| @options[:max_conns] = num.to_i } unless Thin.win?
0
         opts.on( "--max-persistent-conns NUM",
0
- "Maximum number of persistent connections",
0
- "(default: #{@options[:max_persistent_conns]})") { |num| @options[:max_persistent_conns] = num.to_i }
0
+ "Maximum number of persistent connections",
0
+ "(default: #{@options[:max_persistent_conns]})") { |num| @options[:max_persistent_conns] = num.to_i }
0
         
0
         opts.separator ""
0
         opts.separator "Common options:"

Comments

    No one has commented yet.