спасибо, но there is no default helper for *gracefull_timeout* at that
there is *inactivity_timeout* helper, поэтому получаются грабли у
первопроходцев. Ведь всего лишь нужно изменить поведение на одном действии
в контроллере.
How to change *gracefull_timeout *inside controller action only?
--
> When a file with size under 16MB is uploaded, everything works fine, but
> when a file larger then 16MB is uploaded (which is the default max) I am
> expecting to see "File is too big." message, instead I am getting connection
> reset.
That's not possible, a request has to be fully received to b
Hello,
I am creating upload file manager app with Mojolicious and I am seeing
unexpected behavior running the following code
from http://mojolicious.org/perldoc/Mojolicious/Guides/Tutorial#File-uploads
When a file with size under 16MB is uploaded, everything works fine, but
when a file larger
If you want the introspection you're going to be expanding objects to Moose
anyway so you might want to start there (though if you rarely do the
introspection, using Moo for everything else may be a benefit). As for
Mouse I would not recommend its usage to be combined with any other
modules. https:
Looks like this is behaviour of a gracefull_timeout attribute of
Mojo::Server::Hypnotoad
>From the docs
https://metacpan.org/pod/Mojo::Server::Hypnotoad#graceful_timeout
Maximum amount of time in seconds stopping a worker gracefully may take
before being forced, defaults to the value of "gracef
To be fare, Mouse can do it as well. And Moo too (but not with support of
Moose Meta Object Protocol).
понедельник, 5 февраля 2018 г., 21:13:19 UTC+3 пользователь Charlie Brady
написал:
>
>
> On Mon, 5 Feb 2018, Dan Book wrote:
>
> > Introspection capabilities are a feature of Moose.
>
> Moose
Stefan Adams:
>
> How can I set up a validation to require one parameter of a group? For
> example, I need to require City and State, or Zip.
>
Seems
my $validation = $c->validation;
> $validation->required('City')->in('Pyongyang');
> $validation->required('State')->in('North Korea');
> $vali