[Catalyst] May be asynchronous communication between Catalyst applications

Larry Leszczynski larryl at emailplus.org
Mon Mar 4 16:05:27 GMT 2013


Hi -

On Sun, Mar 3, 2013, at 08:44 PM, linuxsupport wrote:
> I tried Catalyst::Plugin::RunAfterRequest, when I send request to the app,
> it returns fine but it does not accept any other request after that until that
> sub routine finishes.

By default the test server runs a single process, so that process will
complete the after-request work before accepting a new request to work
on.  You need to allow it to fork to run multiple processes:

    myapp_server.pl -f


HTH,
Larry



More information about the Catalyst mailing list