[Catalyst] long poll AJAX
jeff robinson
jeffreyianrobinson at gmail.com
Tue Jun 7 20:40:09 GMT 2011
Larry,
You're a genius! That was it.
Thanks so much - J
On Tue, Jun 7, 2011 at 4:23 PM, Larry Leszczynski <larryl at emailplus.org> wrote:
> Hi Jeff -
>
>> The problem seems to be a bottleneck in Catalyst, because as soon as
>> the long poll completes all of the waiting status requests complete
>> instantly as well. I had imagined that the threading on Catalyst would
>> support the functionality I'm looking for.
>
> Just a guess... By any chance are you launching Catalyst by running the
> myapp_server.pl script? By default it starts up in single-threaded
> mode. You would need to add the "--fork" option to to make it fork a
> new process for each request.
>
>
> HTH,
> Larry
>
> _______________________________________________
> List: Catalyst at 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/
>
More information about the Catalyst
mailing list