Skip to content

Commit

Permalink
improved Hypnotoad recipe a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 25, 2012
1 parent bac670f commit 9c937cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -103,8 +103,9 @@ C<X-Forwarded-For> and C<X-Forwarded-HTTPS> headers.
# myapp.conf
{hypnotoad => {proxy => 1}};

Your application is preloaded in the manager process, and you can use
L<Mojo::IOLoop> timers to run code whenever a new worker has been forked.
Your application is preloaded in the manager process during startup, to run
code whenever a new worker process has been forked you can use L<Mojo::IOLoop>
timers.

use Mojolicious::Lite;

Expand Down

0 comments on commit 9c937cc

Please sign in to comment.