in reply to SOAP::LITE client timeout makes ALL my Catalyst app to wait
Without more information, my guess is you're using the script/myapp_server.pl and you're running it in single threaded mode.
Use the -fork option to script/myapp_server.pl so that the server can serve more than one request at a time, or more preferentially use a forking web server like mod_perl or something similar.
and/or
Create a job queue for the functionality that happens in check_result and then somehow poll the server for job completion (perhaps using AJAX).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: SOAP::LITE client timeout makes ALL my Catalyst app to wait
by miguelele (Beadle) on May 30, 2012 at 21:38 UTC |
In Section
Seekers of Perl Wisdom