[Zope] timeout
Troy Farrell
troy@entheossoft.com
Tue, 05 Feb 2002 00:12:00 -0600
Chris,
Lots of things can take that long. I run several queries over millions
of rows in Postgresql that can take several minutes. It is preferable
to batch these jobs with cron and standalone python.
Troy
Christopher N. Deckard wrote:
> Ulrich Wisser wrote:
>
>>one of my reports takes more than 5 minutes.
>>This causes Zope to produce a timeout. Although
>>it is no good idea to let the user wait that
>>long, I would prefer to show a result anyway.
>>How can I set the timeout?
>>
>
> What are you doing that takes that long? I have a 1,500 folders
> with over 10,000 folders spread throughout. My reports take a long
> time to generate too. I am switching everything over to using
> ZCatalogs now. Set up the ZCatalog metadata to store things when it
> indexes and then just use the catalog when building your reports.
> Some of my things which took 1 minute to do now take 2 seconds. I'm
> hoping that this whole report goes from being 10 minutes down to 20
> seconds. Still working on it though. :-)
>
> -Chris