The problem is not threading. The issue is that 1) when using SQLite the database is locked when one thread access it and other threads cannot access it and must wait. This problem goes away if you use postgresql or other client/server database 2) when a user access a controller action, the session for that user is locked and he/she cannot access other controller actions until the lock is released. You can release the lock manually
session._unlock(response) Massimo On Oct 13, 11:16 pm, draco <[email protected]> wrote: > i've notice if i block one method in a controller, all of request for > current session is blocked. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

