Re: [Mojolicious] Nginx errors, reverse-proxy with hypnotoad

2014-04-11 Thread Per Carlson
Hi. nginx has got an proxy_read_timeouthttp://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout parameter that you can change. On 10 April 2014 19:38, Scott keenli...@gmail.com wrote: I have started experiencing errors in my nginx log that says upstream prematurely closed

Re: [Mojolicious] Mojolicious testing, prove and TAP formatting

2014-07-17 Thread Per Carlson
Hi Allan. Den torsdag 17. juli 2014 skrev Allan Cochrane allan.cochr...@gmail.com følgende: Hi, I'm trying to write continuous integration functional tests for one of my controllers in a full Mojolicious application. I'm trying to understand what mode (production, development, test) the

Re: [Mojolicious] Mojolicious testing, prove and TAP formatting

2014-07-17 Thread Per Carlson
Den torsdag 17. juli 2014 skrev Allan Cochrane allan.cochr...@gmail.com følgende: Hi, Thanks, I assume this is a BEGIN{} block in your test file? Yes, that's correct. If you want an example, look e.g. at the file t/mojolicious/app.t in the Mojolicious distribution. -- Pelle Research is

Re: [Mojolicious] What databases are you using with Mojolicious? (Poll)

2014-09-25 Thread Per Carlson
PostgreSQL and SQLite using DBIx::Class or DBIx::Simple+SQL::Abstract On 25 September 2014 21:07, sri kra...@googlemail.com wrote: Lets have a little poll, what databases are you using with Mojolicious? And which modules are you currently using to access them? -- sebastian -- You

Re: [Mojolicious] What databases are you using with Mojolicious? (Poll)

2014-09-26 Thread Per Carlson
Den fredag 26. september 2014 skrev sri kra...@googlemail.com følgende: Wow, this thread gives a great overview of what the community currently looks like, personally i'm (positively) surprised how strong SQL databases are represented. So here's a bonus question, how do you manage schema

[Mojolicious] Controller issue when calculating requests/s

2014-09-30 Thread Per Carlson
Hi. I have an issue with the Mojolicious::Controller. When calculating the requests/s (in debug mode) this fails with the warning: Argument 0,03 isn't numeric in numeric eq (==) at /path/Mojolicious/Controller.pm line 207. ​It looks like current locale is used when stringifying the decimal

[Mojolicious] How to get the result of a finished Minion job back to the app

2015-01-26 Thread Per Carlson
Hi. I'm thinking of using Minion as a job queue in an existing Mojolicious application. The concept of handing off a job to Minion is straight forward, but how to get the result back? Here's a small (not working) example application: #!/usr/bin/env perl use Mojolicious::Lite; use Net::Ping;

Re: [Mojolicious] How to get the result of a finished Minion job back to the app

2015-01-26 Thread Per Carlson
Hi Glen and Sebastian. Thanks for clarifying this in text and POD. I'm more or less exploring the possibilities of Minion. If it were possible to get async notifications back, this would be a magnificent way to bridge the sync and async worlds! For most of my intended uses of Minion, it's