you need to be explicit everywhere if you are not in a web request environment.
On Wednesday, June 29, 2016 at 2:57:37 PM UTC+2, Jason Solack wrote: > > I am, i am passing db into some modules, do i need to be explicit about > db.commit within modules? > > On Tuesday, June 28, 2016 at 3:22:42 PM UTC-4, Niphlod wrote: >> >> are you explicitely calling db.commit() at the end of your taks ? >> >> On Tuesday, June 28, 2016 at 6:36:02 PM UTC+2, Jason Solack wrote: >>> >>> Hello all, i am running an app that utilizes the scheduler and i'm >>> seeing a lot of open transaction in SQL server with the last sql command >>> being: >>> >>> IF @@TRANCOUNT > 0 COMMIT BEGIN TRANSACTION >>> >>> any idea where those are being generated and how to close those >>> transactions? >>> >>> Thank you >>> >>> Jason >>> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

