Permalink
Browse files

changed default keep alive timeout in Mojo::Server::Daemon from 5 to …

…15 seconds
  • Loading branch information...
kraih committed Aug 5, 2011
1 parent 235d939 commit 6027556fcc85e9510648ddfc6fbabe58172e3ce0
Showing with 6 additions and 4 deletions.
  1. +2 −0 Changes
  2. +3 −3 lib/Mojo/Server/Daemon.pm
  3. +1 −1 lib/Mojo/Server/Hypnotoad.pm
View
@@ -1,6 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.
1.72 2011-08-05 00:00:00
- Changed default keep alive timeout in Mojo::Server::Daemon from 5
to 15 seconds.
- Improved documentation.
- Fixed small alternative placeholder value bug in routes.
- Fixed small bug in Mojo::IOWatcher.
@@ -18,7 +18,7 @@ use constant DEBUG => $ENV{MOJO_DAEMON_DEBUG} || 0;
has [qw/backlog group listen silent user/];
has ioloop => sub { Mojo::IOLoop->singleton };
has keep_alive_timeout => 5;
has keep_alive_timeout => 15;
has max_clients => 1000;
has max_requests => 25;
has websocket_timeout => 300;
@@ -425,10 +425,10 @@ Event loop for server I/O, defaults to the global L<Mojo::IOLoop> singleton.
=head2 C<keep_alive_timeout>
my $keep_alive_timeout = $daemon->keep_alive_timeout;
$daemon = $daemon->keep_alive_timeout(15);
$daemon = $daemon->keep_alive_timeout(5);
Maximum amount of time in seconds a connection can be inactive before being
dropped, defaults to C<5>.
dropped, defaults to C<15>.
=head2 C<listen>
@@ -566,7 +566,7 @@ Number of keep alive requests per connection, defaults to C<25>.
keep_alive_timeout => 10
Maximum amount of time in seconds a connection can be inactive before being
dropped, defaults to C<5>.
dropped, defaults to C<15>.
=head2 C<listen>

0 comments on commit 6027556

Please sign in to comment.