| *** J1m has quit IRC | 02:26 | |
| *** jensens has quit IRC | 02:44 | |
| *** povbot has joined #zodb | 10:46 | |
| *** aclark has joined #zodb | 13:22 | |
| *** J1m has joined #zodb | 14:44 | |
| *** ztane has quit IRC | 15:02 | |
| *** ztane has joined #zodb | 15:13 | |
| *** ztane has quit IRC | 15:19 | |
| *** ztane has joined #zodb | 15:31 | |
| *** ztane has quit IRC | 15:42 | |
| *** ztane has joined #zodb | 15:45 | |
| *** ztane has quit IRC | 17:33 | |
| *** ztane has joined #zodb | 17:37 | |
| *** ztane has quit IRC | 18:07 | |
| *** ztane has joined #zodb | 18:11 | |
| *** J1m has quit IRC | 18:36 | |
| *** J1m has joined #zodb | 19:15 | |
| *** aclark has quit IRC | 20:18 | |
| *** bloodbare has joined #zodb | 21:11 | |
| bloodbare | J1m: ping | 21:12 |
|---|---|---|
| bloodbare | J1m: 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 aware | 21:12 |
| bloodbare | and 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#L274 | 21:14 |
| J1m | bloodbare, 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 #zodb | 22:08 | |
| J1m | In fact, there are existing tools that do this for you. | 22:26 |
| J1m | For 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 |
| J1m | IN fact: https://github.com/zc/twotieredkanban/blob/master/buildout.cfg | 22:29 |
| J1m | illustrates using this option for a ZODB web app that uses gevent. | 22:30 |
| *** jensens has quit IRC | 23:33 | |
| *** J1m has quit IRC | 23:40 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!