incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [09/17] git commit: [#6388] don't do verbose logging on cursor.next
Date Thu, 02 Jan 2014 16:16:59 GMT
[#6388] don't do verbose logging on cursor.next


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/ec1e8d06
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/ec1e8d06
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/ec1e8d06

Branch: refs/heads/master
Commit: ec1e8d06c1e1bcb08c8e7c98ac76f4e4aa870100
Parents: 1cff564
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Thu Dec 19 17:11:52 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Thu Jan 2 16:16:20 2014 +0000

----------------------------------------------------------------------
 Allura/allura/lib/custom_middleware.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ec1e8d06/Allura/allura/lib/custom_middleware.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/custom_middleware.py b/Allura/allura/lib/custom_middleware.py
index e5fef4f..498a614 100644
--- a/Allura/allura/lib/custom_middleware.py
+++ b/Allura/allura/lib/custom_middleware.py
@@ -192,7 +192,8 @@ class AlluraTimerMiddleware(TimerMiddleware):
         return self.entry_point_timers() + [
             Timer('jinja', jinja2.Template, 'render', 'stream', 'generate'),
             Timer('markdown', markdown.Markdown, 'convert'),
-            Timer('ming', ming.odm.odmsession.ODMCursor, 'next'),  # FIXME: this may captures
timings ok, but is misleading for counts
+            Timer('ming', ming.odm.odmsession.ODMCursor, 'next',  # FIXME: this may captures
timings ok, but is misleading for counts
+                  debug_each_call=False),
             Timer('ming', ming.odm.odmsession.ODMSession, 'flush', 'find',
                 'get'),
             Timer('ming', ming.schema.Document, 'validate',


Mime
View raw message