here is the script which start

[info] Srvm powered by Catalyst 5.90019
2013/03/05-15:53:51 Starman::Server (type Net::Server::PreFork) starting!
pid(4862)
Resolved [*]:3000 to [0.0.0.0]:3000, IPv4
Binding to TCP port 3000 on host 0.0.0.0 with IPv4
Setting gid to "0 0 0 1 2 3 4 6 10"
Starman: Accepting connections at http://*:3000/

On Tue, Mar 5, 2013 at 3:53 PM, linuxsupport <lin.supp...@gmail.com> wrote:

> To make things simple, I created following methods using REST action class.
>
> Once, I call srv_setup it returns me "ok" quickly
> after that If I can srv_status or srv_setup, it goes on wait until that
> sleep 1000, finishes
>
> sub srv_setup :Local :ActionClass('REST') {
>    my ($self, $c) = @_;
>    $c->run_after_request(
>       sub { sleep 1000; }
>    );
> }
>
> sub srv_setup_GET {
>    my ($self, $c) = @_;
>    $self->status_ok($c, entity => "ok");
>
> }
>
> sub srv_status :Local :ActionClass('REST') {
>    my ($self, $c) = @_;
> }
>
> sub srv_status_GET {
>    my ($self, $c) = @_;
>    $self->status_ok($c, entity => 'progress');
>
> }
>
> On Tue, Mar 5, 2013 at 12:16 AM, Tomas Doran <bobtf...@bobtfish.net>wrote:
>
>>
>> On 4 Mar 2013, at 17:14, linuxsupport <lin.supp...@gmail.com> wrote:
>>
>> > Yes, I know that and tried with -f option, but result was same.
>>
>> No other ideas. Some code you haven't shown us doesn't work as you expect
>> - we can't really do anything other than guess at this point :)
>>
>> Cheers
>> t0m
>>
>>
>> _______________________________________________
>> List: Catalyst@lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>> Dev site: http://dev.catalyst.perl.org/
>>
>
>
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to