I'm sure, that this algorithm is a root of problem.
Other pages are not a problem.

How can I limit a time wthout a thread or stop it?

For now code is following:

@time_limit(45)
def decorator(my_params):
  return integrate(my_params)

def my_views(request):
    try:
       result = decorator(my_params)
   except TimeOutException: #actually any exception
       # how to stop a thread????
       result = ''
   return HttpResponse(.....)

How to stop a thread?

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to