Browse files

max_keepalive_reqs was always set to 1

  • Loading branch information...
1 parent c3100dd commit f5112b666d375a0ead35b254f841ded6060f8d8b @kazuho committed Jul 30, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Starlet/Server.pm
View
3 lib/Starlet/Server.pm
@@ -39,11 +39,10 @@ sub new {
port => $args{port} || 8080,
timeout => $args{timeout} || 300,
keepalive_timeout => $args{keepalive_timeout} || 2,
- max_keepalive_reqs => $args{max_keepalive_reqs},
+ max_keepalive_reqs => $args{max_keepalive_reqs} || 1,
server_software => $args{server_software} || $class,
server_ready => $args{server_ready} || sub {},
max_reqs_per_child => $args{max_reqs_per_child} || 100,
- max_keepalive_reqs => 1,
is_multiprocess => Plack::Util::FALSE,
}, $class;

0 comments on commit f5112b6

Please sign in to comment.