Skip to content
Browse files

prev. commit requires this infinite loop

  • Loading branch information...
1 parent 610abc6 commit fe92b341216814618f9f299c6ceea8d4cfd9aefc kazuho committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Plack/Handler/Starlet.pm
View
4 lib/Plack/Handler/Starlet.pm
@@ -63,7 +63,9 @@ sub run {
} else {
# run directly, mainly for debugging
local $SIG{TERM} = sub { exit 0; };
- $self->accept_loop($app, $self->{max_reqs_per_child});
+ while (1) {
+ $self->accept_loop($app, $self->{max_reqs_per_child});
+ }
}
}

0 comments on commit fe92b34

Please sign in to comment.
Something went wrong with that request. Please try again.