[Mojolicious] Re: Mojolicious inactivity_timeout inconsistencies...

2017-01-16 Thread sri
Don't test this with sleep, you don't know what state the event loop is in, use a Mojo::IOLoop->timer(...) instead. -- sebastian -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it,

[Mojolicious] Mojolicious inactivity_timeout inconsistencies...

2017-01-16 Thread Peter Valdemar Mørch
I'm having trouble with all the different ways of setting inactivity_timeout. http://mojolicious.org/perldoc/Mojolicious/Guides/FAQ#What-does-Inactivity-timeout-mean says: > It defaults to 20 seconds for the user agent and 15 seconds for all > built-in web servers, and can be changed with the

Re: [Mojolicious] using Mojolicious::Plugin::RevealJS in a full app

2017-01-16 Thread Dotan Dimet
Hi, My guess is that your route ('/revealjs/:id') interferes with requests for the static Reveal.js files bundled in the plugin, which are served from /revealjs/... This line in the plugin's register() method: push @{ $app->static->paths }, $home->rel_dir('public'); adds the directory