Re: [pylons-discuss] How to handle DB transaction failures/request race conditions

2017-11-27 Thread Mikko Ohtamaa
Hi Jens, You also might find some background information here: https://websauna.org/docs/narrative/modelling/occ.html Br, Mikko On 27 November 2017 at 11:00, wrote: > Hello, > > Looking at the SQLAlchemy cookie cutter >

Re: [pylons-discuss] How to handle DB transaction failures/request race conditions

2017-11-27 Thread Brian Sutherland
On Mon, Nov 27, 2017 at 01:00:00AM -0800, jens.troe...@gmail.com wrote: > Hello, > > Looking at the SQLAlchemy cookie cutter > , a request gets > its own transaction-backed db session, and on its way out a response > commits that

[pylons-discuss] How to handle DB transaction failures/request race conditions

2017-11-27 Thread jens . troeger
Hello, Looking at the SQLAlchemy cookie cutter , a request gets its own transaction-backed db session, and on its way out a response commits that transaction and closes the session. There are activation