Commit 47917d49 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Warn about the slowness of the load invalidations barrier.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2349 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3342cc2b
...@@ -558,6 +558,7 @@ class Application(object): ...@@ -558,6 +558,7 @@ class Application(object):
# Those invalidations are checked at ZODB level, so it decides if # Those invalidations are checked at ZODB level, so it decides if
# loaded data can be handed to current transaction or if a separate # loaded data can be handed to current transaction or if a separate
# loadBefore call is required. # loadBefore call is required.
# XXX: A better implementation is required to improve performances
self.invalidationBarrier() self.invalidationBarrier()
return result return result
finally: finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment