Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
changed default upgrade timeout of Hypnotoad from 30 to 60 seconds
  • Loading branch information
kraih committed Sep 25, 2011
1 parent 5f9e639 commit 77e10ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Changes
@@ -1,6 +1,6 @@
This file documents the revision history for Perl extension Mojolicious.

1.99 2011-09-24 00:00:00
1.99 2011-09-25 00:00:00
- Deprecated direct hash access to the flash in
Mojolicious::Controller.
- Added EXPERIMENTAL group function to Mojolicious::Lite.
Expand All @@ -9,6 +9,7 @@ This file documents the revision history for Perl extension Mojolicious.
- Added EXPERIMENTAL profile helper.
- Added EXPERIMENTAL binary support to Mojo::Transaction::WebSocket.
- Updated WebSocket implementation to ietf-15.
- Changed default upgrade timeout of Hypnotoad from 30 to 60 seconds.
- Improved accept performance of all built-in servers by up to 1000%
with the EV backend.
- Improved documentation.
Expand Down
6 changes: 3 additions & 3 deletions lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -153,7 +153,7 @@ sub _config {
$c->{lock_file} .= ".$$";
$c->{pid_file}
||= File::Spec->catfile(dirname($ENV{HYPNOTOAD_APP}), 'hypnotoad.pid');
$c->{upgrade_timeout} ||= 30;
$c->{upgrade_timeout} ||= 60;
$c->{workers} ||= 4;

# Daemon settings
Expand Down Expand Up @@ -598,10 +598,10 @@ the C<MOJO_REVERSE_PROXY> environment variable.
=head2 C<upgrade_timeout>
upgrade_timeout => 15
upgrade_timeout => 30
Time in seconds a zero downtime software upgrade may take before being
aborted, defaults to C<30>.
aborted, defaults to C<60>.
=head2 C<user>
Expand Down

0 comments on commit 77e10ce

Please sign in to comment.