Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix broken support for slow restart (commit 89b50d2)

  • Loading branch information...
commit b676c4b325ce08286f250387f232f4702819fb9e 1 parent da71466
@kazuho authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Plack/Handler/Starlet.pm
View
2  lib/Plack/Handler/Starlet.pm
@@ -62,7 +62,7 @@ sub run {
$pm_args{err_respawn_interval} = $self->{err_respawn_interval};
}
my $pm = Parallel::Prefork->new(\%pm_args);
- while ($pm->signal_received ne 'TERM') {
+ while ($pm->signal_received !~ /^(TERM|USR1)$/) {
$pm->start and next;
$self->accept_loop($app, $self->_calc_reqs_per_child());
$pm->finish;
Please sign in to comment.
Something went wrong with that request. Please try again.