Upload Question

44 views
Skip to first unread message

Andrea Sanches

unread,
Nov 10, 2012, 4:54:56 PM11/10/12
to mojol...@googlegroups.com
Hi All,

  I need increase my size of upload. I did try put this direct in my upload method, but don´t work! Where I need put this:

  $ENV{MOJO_MAX_MESSAGE_SIZE} = 1073741824;

   I am using NO lite app.

  

Kartik Thakore

unread,
Nov 10, 2012, 5:04:33 PM11/10/12
to mojol...@googlegroups.com
You can just call it before you run your server (morbo/daemon) with 

export MOJO_MAX_MESSAGE_SIZE=1073741824; morbo script/my_app




  

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To view this discussion on the web visit https://groups.google.com/d/msg/mojolicious/-/sqDCr0G0cbEJ.
To post to this group, send email to mojol...@googlegroups.com.
To unsubscribe from this group, send email to mojolicious...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mojolicious?hl=en.

Charlie Brady

unread,
Nov 10, 2012, 9:28:48 PM11/10/12
to mojol...@googlegroups.com

On Sat, 10 Nov 2012, Kartik Thakore wrote:

> You can just call it before you run your server (morbo/daemon) with
>
> export MOJO_MAX_MESSAGE_SIZE=1073741824; morbo script/my_app

Or just:

MOJO_MAX_MESSAGE_SIZE=1073741824 morbo script/my_app

(assuming you are not using Windows).

David Serrano

unread,
Nov 11, 2012, 12:54:12 AM11/11/12
to mojol...@googlegroups.com, David Serrano
On 2012-11-10 13:54:56 (-0800), Andrea Sanches wrote:
>
> I need increase my size of upload. I did try put this direct in my upload
> method, but don´t work! Where I need put this:
>
> $ENV{MOJO_MAX_MESSAGE_SIZE} = 1073741824;

I put that in script/myapp.


--
David Serrano
GnuPG id: 280A01F9
signature.asc
Reply all
Reply to author
Forward
0 new messages