*** davisagli is now known as davisagli|away | 00:01 | |
mgedmin | jkrebs, what you mean by "closing the sesion"? | 00:12 |
---|---|---|
jkrebs | oh actually i guess it's zope.sqlalchemy | 00:13 |
jkrebs | in SessionDataManager, there is a call to session.close() | 00:13 |
jkrebs | in _finish | 00:13 |
kosh | not sure what you mean by not closing a session during commit | 00:14 |
jkrebs | well when i use transaction.commit(), the sqlalchemy session is closed | 00:15 |
jkrebs | which means all objects within the session are detached | 00:16 |
kosh | ah I have no experience with sqlalchemy | 00:17 |
kosh | you best bet is to ask on the mailing list | 00:17 |
*** tiwula has quit IRC | 00:30 | |
mgedmin | yeah, with zodb you can transaction.commit() as often as you like | 00:34 |
mgedmin | (and sometimes you have to, to reduce transaction sizes and thus memory usage) | 00:34 |
mgedmin | it would be nicer if zope.sqlalchemy registered the sqla session with the request finalizers | 00:35 |
mgedmin | this is what ZopePublication does with the ZODB connection: request.hold(...) | 00:35 |
kosh | what I use is transaction.savepoint(optimistic=True) | 00:36 |
kosh | I found that massively cut memory usage during large number of object modifications | 00:36 |
mgedmin | oh, right | 00:36 |
kosh | I also try to deactivate objects after I use them to make sure zope can clean them up easier | 00:37 |
kosh | self._p_deactivate() and self._p_jar.cacheGC() after I have done stuff with an object it seems to help | 00:39 |
*** davisagli|away is now known as davisagli | 00:56 | |
*** davisagli is now known as davisagli|away | 00:59 | |
*** J1m_ has joined #zope | 01:14 | |
*** J1m_ has quit IRC | 01:52 | |
*** d2m has quit IRC | 02:23 | |
*** davisagli|away is now known as davisagli | 02:26 | |
*** nitrogenycs has quit IRC | 02:34 | |
*** alga_ has quit IRC | 02:35 | |
*** davisagli is now known as davisagli|away | 02:53 | |
*** ccomb has quit IRC | 02:54 | |
*** Arfrever has quit IRC | 03:09 | |
*** davisagli|away is now known as davisagli | 03:31 | |
*** jkrebs has quit IRC | 03:35 | |
*** davisagli is now known as davisagli|away | 03:52 | |
*** River_Rat has joined #zope | 04:26 | |
*** River-Rat has quit IRC | 04:28 | |
*** d2m has joined #zope | 04:30 | |
*** MrTango has quit IRC | 05:16 | |
*** mr_jolly has joined #zope | 05:41 | |
*** mr_jolly has quit IRC | 05:45 | |
*** davisagli|away is now known as davisagli | 07:34 | |
*** davisagli is now known as davisagli|away | 08:22 | |
*** davisagli|away is now known as davisagli | 08:33 | |
*** davisagli is now known as davisagli|away | 08:43 | |
*** mcdonc has quit IRC | 09:07 | |
*** zagy has joined #zope | 09:13 | |
*** d2m has quit IRC | 10:22 | |
*** planetzopebot has quit IRC | 10:33 | |
*** planetzopebot has joined #zope | 10:34 | |
*** JT has quit IRC | 10:54 | |
*** JT has joined #zope | 11:33 | |
*** Soekris2 has joined #zope | 12:02 | |
Soekris2 | Hello good new year | 12:02 |
*** mr_jolly has joined #zope | 12:02 | |
Soekris2 | I'm bizzy with zql method. And i have a qeury from 1.pk and 2.fk AND 2.person like %bla%. This is what i have working But i got a 3.FK from 1.pk but i got a error. I don't know witch way to search fueater. | 12:06 |
*** shastry_ has quit IRC | 13:04 | |
*** d2m has joined #zope | 13:07 | |
*** zagy has quit IRC | 13:07 | |
*** rogererens has joined #zope | 13:56 | |
*** Soekris2 has quit IRC | 14:04 | |
*** mr_jolly has quit IRC | 14:14 | |
*** astoon has joined #zope | 14:25 | |
*** menesis has joined #zope | 14:39 | |
*** alga has joined #zope | 14:46 | |
*** Soekris has joined #zope | 14:49 | |
*** astoon has quit IRC | 15:03 | |
*** JT has quit IRC | 15:24 | |
*** nitrogenycs has joined #zope | 15:48 | |
*** MrTango has joined #zope | 15:59 | |
*** mr_jolly has joined #zope | 15:59 | |
*** cpf_ has joined #zope | 16:01 | |
*** davisagli|away is now known as davisagli | 16:15 | |
CIA-78 | hannosch * r119246 Products.ZCatalog/ (src/Products/ZCatalog/tests/test_lazy.py CHANGES.txt): Avoid locale-dependent test condition in `test_length_with_filter`. | 16:17 |
CIA-78 | hannosch * r119247 Products.ZCatalog/ (setup.py CHANGES.txt): Prepare Products.ZCatalog 2.13.3. | 16:17 |
CIA-78 | hannosch * r119248 /Products.ZCatalog/tags/2.13.3: Tagged Products.ZCatalog 2.13.3. | 16:18 |
CIA-78 | hannosch * r119249 Products.ZCatalog/ (setup.py CHANGES.txt): vb | 16:18 |
CIA-78 | hannosch 2.13 * r119250 Zope/ (doc/CHANGES.rst versions.cfg): ZCatalog = 2.13.3 | 16:18 |
CIA-78 | hannosch * r119251 Zope/ (doc/CHANGES.rst versions.cfg): Merged c119250 from 2.13 branch | 16:18 |
*** JT has joined #zope | 16:29 | |
*** shastry has joined #zope | 16:51 | |
*** J1m_ has joined #zope | 16:57 | |
*** J1m_ has quit IRC | 16:58 | |
*** J1m_ has joined #zope | 16:59 | |
*** ccomb has joined #zope | 17:01 | |
*** davisagli is now known as davisagli|away | 17:15 | |
*** davisagli|away is now known as davisagli | 17:16 | |
*** kiorky_ has joined #zope | 17:21 | |
*** kiorky has quit IRC | 17:23 | |
*** J1m_ has quit IRC | 17:27 | |
*** sunew has joined #zope | 17:34 | |
*** davisagli is now known as davisagli|away | 17:34 | |
*** sunew has quit IRC | 17:41 | |
*** sunew has joined #zope | 17:57 | |
*** Arfrever has joined #zope | 18:02 | |
*** zagy has joined #zope | 18:05 | |
kosh | betabug: are you around? | 18:10 |
*** J1m_ has joined #zope | 18:11 | |
*** davisagli|away is now known as davisagli | 18:13 | |
*** davisagli is now known as davisagli|away | 18:14 | |
*** J1m_ has quit IRC | 18:29 | |
*** allisterb has quit IRC | 18:33 | |
*** m8 has joined #zope | 18:38 | |
*** m8 has joined #zope | 18:38 | |
*** mr_jolly has quit IRC | 18:44 | |
*** mr_jolly has joined #zope | 18:46 | |
*** J1m_ has joined #zope | 18:46 | |
*** J1m_ has quit IRC | 18:47 | |
*** allisterb has joined #zope | 18:48 | |
*** zagy has quit IRC | 18:54 | |
*** J1m_ has joined #zope | 18:56 | |
*** J1m_ has quit IRC | 18:57 | |
*** mr_jolly has quit IRC | 19:05 | |
*** J1m_ has joined #zope | 19:22 | |
*** tiwula has joined #zope | 19:41 | |
*** J1m_ has quit IRC | 19:43 | |
*** J1m_ has joined #zope | 19:45 | |
*** J1m_ has quit IRC | 19:45 | |
*** J1m_ has joined #zope | 19:54 | |
*** mr_jolly has joined #zope | 20:27 | |
*** J1m_ has quit IRC | 20:55 | |
*** mcdonc has joined #zope | 20:57 | |
*** zagy has joined #zope | 20:59 | |
*** d2m has quit IRC | 21:09 | |
*** J1m_ has joined #zope | 21:23 | |
*** zagy has quit IRC | 21:30 | |
*** J1m_ has quit IRC | 21:42 | |
*** Arfrever has quit IRC | 22:04 | |
*** Arfrever has joined #zope | 22:07 | |
*** J1m_ has joined #zope | 22:20 | |
*** J1m_ has quit IRC | 22:26 | |
*** tiwula has quit IRC | 22:37 | |
*** m8 has quit IRC | 22:49 | |
*** menesis has quit IRC | 22:50 | |
*** tiwula has joined #zope | 22:51 | |
*** cpf_ has quit IRC | 22:54 | |
*** sunew has quit IRC | 23:49 | |
*** Arfrever has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!