diff --git a/lib/Mojo/Server/Prefork.pm b/lib/Mojo/Server/Prefork.pm index 9935d9819b..35a649125a 100644 --- a/lib/Mojo/Server/Prefork.pm +++ b/lib/Mojo/Server/Prefork.pm @@ -181,7 +181,7 @@ sub _wait { while ($chunk =~ /(\d+):(\d)\n/g) { next unless my $w = $self->{pool}{$1}; @$w{qw(healthy time)} = (1, $time) and $self->emit(heartbeat => $1); - if($2) { + if ($2) { $w->{graceful} ||= $time; $w->{quit}++; }