Ruben, I did consider and I do use contextual Sessions. However, as all SpoolEntryObjects are fetched and thereby instantiated within the same thread (spooler component), and only afterwards spawn their own individual thread, contextual threads do not help in this regard. I would either need to reassign an already instantiated and session- bound object to a new session (which does not seem to work, understandably) or work around this issue completely, I guess.
Best, Thomas On Apr 21, 11:00 pm, Nebur <[email protected]> wrote: > Did you already consider using an orm session per thread ? That > practice would be supported well (see "contextual"/"threadlocal" > sessions). > Ruben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" 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/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
