Skip to content

Commit

Permalink
better description for restarting behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 5, 2015
1 parent 784a413 commit d25a18d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.72 2015-01-05
5.72 2015-01-06

5.71 2015-01-01
- Updated Net::DNS::Native requirement to 0.15 for some important bug fixes.
Expand Down
8 changes: 4 additions & 4 deletions lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -252,10 +252,10 @@ affect performance and idle CPU usage.
accepts => 100
Maximum number of connections a worker is allowed to accept before stopping
gracefully, defaults to the value of L<Mojo::Server::Prefork/"accepts">.
Setting the value to C<0> will allow workers to accept new connections
indefinitely. Note that up to half of this value can be subtracted randomly to
improve load balancing.
gracefully and then getting replaced with a newly started worker, defaults to
the value of L<Mojo::Server::Prefork/"accepts">. Setting the value to C<0>
will allow workers to accept new connections indefinitely. Note that up to
half of this value can be subtracted randomly to improve load balancing.
=head2 backlog
Expand Down
11 changes: 6 additions & 5 deletions lib/Mojo/Server/Prefork.pm
Expand Up @@ -400,11 +400,12 @@ performance and idle CPU usage.
$prefork = $prefork->accepts(100);
Maximum number of connections a worker is allowed to accept before stopping
gracefully, passed along to L<Mojo::IOLoop/"max_accepts">, defaults to
C<1000>. Setting the value to C<0> will allow workers to accept new
connections indefinitely. Note that up to half of this value can be subtracted
randomly to improve load balancing, and that worker processes will stop
sending heartbeat messages once the limit has been reached.
gracefully and then getting replaced with a newly started worker, passed along
to L<Mojo::IOLoop/"max_accepts">, defaults to C<1000>. Setting the value to
C<0> will allow workers to accept new connections indefinitely. Note that up
to half of this value can be subtracted randomly to improve load balancing,
and that worker processes will stop sending heartbeat messages once the limit
has been reached.
=head2 cleanup
Expand Down

0 comments on commit d25a18d

Please sign in to comment.