Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mention the new inactivity_timeout helper
  • Loading branch information
kraih committed Oct 26, 2015
1 parent c65fa82 commit ca160cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.26 2015-10-24
6.26 2015-10-26

6.25 2015-10-21
- Deprecated Mojo::Message::Request::proxy with boolean and string arguments
Expand Down
7 changes: 5 additions & 2 deletions lib/Mojolicious/Guides/FAQ.pod
Expand Up @@ -215,8 +215,11 @@ before being closed automatically. It defaults to C<20> seconds for the user
agent and C<15> seconds for all built-in web servers, and can be changed with
the attributes L<Mojo::UserAgent/"inactivity_timeout"> and
L<Mojo::Server::Daemon/"inactivity_timeout"> or the C<MOJO_INACTIVITY_TIMEOUT>
environment variable. This timeout always applies, so you might have to tweak
it for applications that take a long time to process a request.
environment variable. In L<Mojolicious> applications you can also use the helper
L<Mojolicious::Plugin::DefaultHelpers/"inactivity_timeout"> to change it on
demand for each connection individually. This timeout always applies, so you
might have to tweak it for applications that take a long time to process a
request.

=head2 What does "Premature connection close" mean?

Expand Down

0 comments on commit ca160cc

Please sign in to comment.