use_transaction_manager is True by default in AppConfig class. AppConfig.add_tm_middleware is used to set it up and AppConfig.commit_veto is used to decide whenever a commit or a rollback should be issued.
If things are not working as expected it might be due to a problem in repoze.tm2 or commit_veto. Let us know if you find any issue, we will try to fix it. On Sat, Dec 3, 2011 at 11:09 PM, NiL <[email protected]> wrote: > hi, > > I have experienced inconsistencies in this behaviour when my controller ends > with a raise HTTP code 301 > > it seems that in this case neither rollback or commit are issued, developing > 'idle in transaction' situation with postgres. > > maybe I should dig the repoze.tm2 source base > > NiL > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/turbogears/-/wXRpXYPmA2kJ. > > 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?hl=en. -- 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?hl=en.

