On Fri, 28 Jul 2006 09:29:03 -0500
"Jeremy Kaplan" <jkaplan@...> wrote:
> We have a handful of http requests we handle using webware/python that
> result in database queries that are costly and take a while to execute.
> No big deal; we are in the process of optimizing and improving those
> queries. But during this process we've discovered that a request that
> runs excessively long is resubmitted every 5 minutes until it completes.
> Is this Webware behavior? If so, is there some way to configure Webware
> so as not to automatically resubmit these requests every 5 minutes?
We have seen this behaviour with impatient users and with the
Opera webbrowser. This browser resubmit request with no answer
after some time. Best way to fix this type of problem is to use
a semaphore. Just set a marker in a file that the process is
running and check the file before you start the process.
Not very elegant but its working.
Long running processes are always a problem in a web
4c GmbH, Germany