On Jun 2, 4:22 am, Mark Larsen <larsen...@gmail.com> wrote: > > I think you are right > Also, i've had trouble in the past with CherryPy blocking AJAX calls > when another thread to eating 100%. Apache or Lighttpd would not have > this limitation.
I think this is not CherryPy's limitation, but Web2py's. It locks the session file when you request a page, so until that request is served, the file remains locked and other requests will wait for the lock to release. I know I ran into this problem before. The solution is to call session._unlock (response) on the beginning of the controller that would serve the upload status, but you'll have to be very careful not to use session there. Anyone correct me if I'm wrong. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---