Skip to content

Commit

Permalink
fixed default keep alive timeout of Hypnotoad
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 5, 2011
1 parent 6c3ac4c commit 3d70975
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Changes
@@ -1,7 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.36 2011-12-03 00:00:00
2.36 2011-12-05 00:00:00
- Improved documentation.
- Fixed default keep alive timeout of Hypnotoad.

2.35 2011-12-01 00:00:00
- Added EXPERIMENTAL etag method to Mojo::Headers.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -163,7 +163,7 @@ sub _config {
$daemon->max_clients($c->{clients} || 1000);
$daemon->group($c->{group}) if $c->{group};
$daemon->max_requests($c->{keep_alive_requests} || 25);
$daemon->keep_alive_timeout($c->{keep_alive_timeout} || 5);
$daemon->keep_alive_timeout($c->{keep_alive_timeout} || 15);
$daemon->user($c->{user}) if $c->{user};
$daemon->websocket_timeout($c->{websocket_timeout} || 300);
$daemon->ioloop->max_accepts($c->{accepts} || 1000);
Expand Down

0 comments on commit 3d70975

Please sign in to comment.