[jifty-devel] View rendering timeout

Yves Agostini agostini at univ-metz.fr
Fri Mar 4 11:54:14 EST 2011


On 04/Mar - 08:29, Stanislav Sinyagin wrote:
> hi,
> 
> inside my view template, I do some SQL querying which may take up to several 
> dozens of seconds.
> 
> When I refresh the region after the submit button's onclick event, and the 
> refresh takes longer than 30 seconds, I get the error pop-up that the server is 
> unreachable.
> 
> What are the ways around this? Can I increase the default timeout? 
> Or maybe there's a better way to asynchronously deliver some long query results?
> 
> 
> thanks,
> stan

if you use FastCGI, an other work around is to increase idle-timeout

ex :
FastCgiServer /home/www/checkldap/bin/jifty -idle-timeout 900 -initial-env
JIFTY_COMMAND=fastcgi -processes 3


-- 
---------------------------------------------------------------
Yves Agostini             CRI - Université Paul Verlaine -Metz
agostini at univ-metz.fr     http://www.crium.univ-metz.fr
tel: 03 87 31 52 63       fax: 03 87 31 53 33     PGP: 842CC261


More information about the jifty-devel mailing list