Re: [Mojolicious] Minion args

2018-04-26 Thread Stefan Adams
Thanks, Dan! I'll try that. Yeah I don't need anything fancy, it's just a large text string (a raw email message headers, attachments, and all, actually). I'm using Pg. On Thu, Apr 26, 2018, 11:22 PM Dan Book wrote: > What backend are you using? > > Note that the args have to be decoded from J

Re: [Mojolicious] Minion args

2018-04-26 Thread Dan Book
What backend are you using? Note that the args have to be decoded from JSON whenever accessed and when starting the job, which for pure-perl parsers can be very slow. Perhaps try loading Mojo::JSON::MaybeXS in your app. Otherwise I'd suggest storing it in a separate table in a way that doesn't req

[Mojolicious] Minion args

2018-04-26 Thread Stefan Adams
Is there a maximum length that I should respect for the args being passed to a Minion task? I have a job that has an arg of 2MB and the state is failed with a result of "Worker went away". Using the Minion Admin UI, I clicked on the "failed" tasks and it hangs my entire Ubuntu 16.04.3 system! I'

[Mojolicious] Re: Problem with header data in json response

2018-04-26 Thread mjdev2017
Thanks both, that helped. On Wednesday, April 25, 2018 at 3:31:10 PM UTC+1, mjde...@gmail.com wrote: > > Hi, > > I have a really annoying problem that I cannot resolve. I have a > Mojolicious (full) app running behind Apache (using mod_proxy path), when I > make an ajax call to my app for data t