Skip to content

Commit

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

2.36 2011-12-05 00:00:00
- Changed default heartbeat timeout of Hypnotoad from 5 to 10
seconds.
- Improved documentation.
- Fixed default keep alive timeout of Hypnotoad.

Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -146,7 +146,7 @@ sub _config {
# Hypnotoad settings
$c->{graceful_timeout} ||= 30;
$c->{heartbeat_interval} ||= 5;
$c->{heartbeat_timeout} ||= 5;
$c->{heartbeat_timeout} ||= 10;
$c->{lock_file}
||= File::Spec->catfile($ENV{MOJO_TMPDIR} || File::Spec->tmpdir,
'hypnotoad.lock');
Expand Down Expand Up @@ -554,7 +554,7 @@ Heartbeat interval in seconds, defaults to C<5>.
heartbeat_timeout => 2
Time in seconds before a worker without a heartbeat will be stopped, defaults
to C<5>.
to C<10>.
=head2 C<keep_alive_requests>
Expand Down

0 comments on commit aec7871

Please sign in to comment.