Skip to content

Commit

Permalink
a few more commas
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 2, 2016
1 parent ac64ed3 commit b05ba01
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/IOLoop.pm
Expand Up @@ -325,7 +325,7 @@ L<Mojo::IOLoop> implements the following attributes.
my $max = $loop->max_accepts;
$loop = $loop->max_accepts(1000);
The maximum number of connections this event loop is allowed to accept before
The maximum number of connections this event loop is allowed to accept, before
shutting down gracefully without interrupting existing connections, defaults to
C<0>. Setting the value to C<0> will allow this event loop to accept new
connections indefinitely. Note that up to half of this value can be subtracted
Expand Down Expand Up @@ -596,7 +596,7 @@ event loop can be restarted by running L</"start"> again.
$loop->stop_gracefully;
Stop accepting new connections and wait for already accepted connections to be
closed before stopping the event loop.
closed, before stopping the event loop.
=head2 stream
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/Server/Daemon.pm
Expand Up @@ -429,8 +429,8 @@ TLS protocol version.
$daemon = $daemon->max_clients(100);
Maximum number of accepted connections this server is allowed to handle
concurrently before stopping to accept new incoming connections, passed along to
L<Mojo::IOLoop/"max_connections">.
concurrently, before stopping to accept new incoming connections, passed along
to L<Mojo::IOLoop/"max_connections">.
=head2 max_requests
Expand Down
6 changes: 3 additions & 3 deletions lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -239,7 +239,7 @@ L<Mojolicious::Guides::Cookbook/"Hypnotoad"> for examples.
accepts => 100
Maximum number of connections a worker is allowed to accept before stopping
Maximum number of connections a worker is allowed to accept, before stopping
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
Expand All @@ -257,8 +257,8 @@ L<Mojo::Server::Daemon/"backlog">.
clients => 100
Maximum number of accepted connections each worker process is allowed to handle
concurrently before stopping to accept new incoming connections, defaults to the
value of L<Mojo::IOLoop/"max_connections">. Note that high concurrency works
concurrently, before stopping to accept new incoming connections, defaults to
the value of L<Mojo::IOLoop/"max_connections">. Note that high concurrency works
best with applications that perform mostly non-blocking operations, to optimize
for blocking operations you can decrease this value and increase L</"workers">
instead for better performance.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Prefork.pm
Expand Up @@ -360,7 +360,7 @@ and implements the following new ones.
my $accepts = $prefork->accepts;
$prefork = $prefork->accepts(100);
Maximum number of connections a worker is allowed to accept before stopping
Maximum number of connections a worker is allowed to accept, before stopping
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
Expand Down

0 comments on commit b05ba01

Please sign in to comment.