Re: [pylons-discuss] processing after responding to client

2018-11-12 Thread Michael Merickel
On Mon, Nov 12, 2018 at 4:29 AM Mikko Ohtamaa wrote: > > https://stackoverflow.com/questions/15593516/how-to-run-a-script-after-pyramids-transaction-manager-has-returned > > Please not that thread local `transaction.manager` might be discouraged > nowadays, but not sure what is the best practice

Re: [pylons-discuss] processing after responding to client

2018-11-12 Thread Mikko Ohtamaa
> My problem is that while 99% of the views make read-only requests to the > database, and thus are very fast, the analytics event is a writing and can > be slow occasionally. > You can do post commit actions with SQLAlchemy and zope.sqlaclhemy. 1. Response gets served 2. Database transaction

[pylons-discuss] ZODB leaves Tempfiles while testing

2018-11-12 Thread Gerhard Schmidt
Hi, i am writing a pyramid application that uses ZODB for persistence. I'm doing some testing right now an run my testsuite quite often right now. Today all of my tests suddenly failing. Investigating i found that my /tmp was full with thousands of BUCxx files. I've deleted these files and