Hi, On 3/24/06, JP Farias <[EMAIL PROTECTED]> wrote: > I dunno why this happens with my project only... > > I have some processes outside turbogears that uses many threads to > insert/update/delete data on the db. Those data come from various > sources, that's why I preffered to use many processes. The many threads > are for some data that is catched from parsing a web site. I have to > download many pages from the site and process them. So I start many > threads, one for each page I need to download, in the process which > handles the data from this site.
There have been changes in dbconnection.py since 1539, but I have I no idea if they're relevant to what you're doing. Nothing jumped out at me. If you're using your model classes directly from outside of TurboGears, be aware that you'll be getting the implicit transaction behavior there. (It's built into the connection hub.) > When using sqlobject r1539 everything goes ok. But if I use latest > sqlobject version, only one thread finishes successfuly and other > threads stay blocked forever. Hmm. You could try adding a hub.end() > I dunno what is diff from r1539 to latest that may be causing this > behaviour. I don't know either. If you can post a bit more detail about how your threads are created (and how they finish) and how you're using your database, we might be able to help. > Also, thanks for the hint with hub.end() so u may close that ticket, > but please put something about this on the docs. :-) Yeah. After 0.9a2, I'm going to start working on some docs to at least hit upon some of the main points of 0.9. Volunteers to help with docs or Docudo are always welcomed! (Docudo in particular... once we have that in place, it'll be much easier to keep the docs up to date.) Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

