Skip to content

Commit

Permalink
link to stream method instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 2, 2014
1 parent 0526dc1 commit efd9831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Plugin/DefaultHelpers.pm
Expand Up @@ -257,8 +257,8 @@ Alias for L<Mojolicious::Controller/"flash">.
$c->inactivity_timeout(3600);
Use L<Mojo::IOLoop::Stream/"timeout"> to increase connection timeout if
possible.
Use L<Mojo::IOLoop/"stream"> to find the current connection and increase
timeout if possible.
# Longer version
Mojo::IOLoop->stream($c->tx->connection)->timeout(3600);
Expand Down

0 comments on commit efd9831

Please sign in to comment.