IRC log of #zodb for Friday, 2016-07-29

*** J1m has quit IRC02:26
*** jensens has quit IRC02:44
*** povbot has joined #zodb10:46
*** aclark has joined #zodb13:22
*** J1m has joined #zodb14:44
*** ztane has quit IRC15:02
*** ztane has joined #zodb15:13
*** ztane has quit IRC15:19
*** ztane has joined #zodb15:31
*** ztane has quit IRC15:42
*** ztane has joined #zodb15:45
*** ztane has quit IRC17:33
*** ztane has joined #zodb17:37
*** ztane has quit IRC18:07
*** ztane has joined #zodb18:11
*** J1m has quit IRC18:36
*** J1m has joined #zodb19:15
*** aclark has quit IRC20:18
*** bloodbare has joined #zodb21:11
bloodbareJ1m: ping21:12
bloodbareJ1m: on plone.server we created our own transaction_manager https://github.com/plone/plone.server/blob/master/src/plone.server/plone/server/transactions.py#L12 that is request aware21:12
bloodbareand we create the ZODB with a RequestAwareDB that registers objects to that transaction_manager on request https://github.com/plone/plone.server/blob/master/src/plone.server/plone/server/factory.py#L27421:14
J1mbloodbare, a) why would database initialization using a standard tm break this and b) why don't you just hang a standard TM on a request.22:07
*** jensens has joined #zodb22:08
J1mIn fact, there are existing tools that do this for you.22:26
J1mFor example, zc.zodbwsgi attaches a ZODB connection and has an option for that connection to use a transaction manager that's not connected to a thread.22:27
J1mIN fact: https://github.com/zc/twotieredkanban/blob/master/buildout.cfg22:29
J1millustrates using this option for a ZODB web app that uses gevent.22:30
*** jensens has quit IRC23:33
*** J1m has quit IRC23:40

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!