This is an automated email from the ASF dual-hosted git repository.

dill0wn pushed a commit to branch dw/pymongo4
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 6cd8656f4bc93fa2abeb04f39c431ef7971b2d91
Author: Dillon Walls <dillon.wa...@slashdotmedia.com>
AuthorDate: Wed Jun 19 15:28:45 2024 -0400

    remove ming/pymongo map_reduce and inline_map_reduce. no longer provided by 
mongo
---
 Allura/allura/lib/custom_middleware.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Allura/allura/lib/custom_middleware.py 
b/Allura/allura/lib/custom_middleware.py
index 16ca53479..1baf4c4f1 100644
--- a/Allura/allura/lib/custom_middleware.py
+++ b/Allura/allura/lib/custom_middleware.py
@@ -328,7 +328,7 @@ class AlluraTimerMiddleware(TimerMiddleware):
                   'insert_now', 'update_now', 'delete_now',
                   'find', 'find_one_and_update', 'find_one_and_replace', 
'find_one_and_delete', 
                   'remove', 'update', 'update_if_not_modified',
-                  'aggregate', 'group', 'map_reduce', 'inline_map_reduce', 
'distinct',
+                  'aggregate', 'group', 'distinct',
                   ),
             # Timer('ming', ming.schema.Document, 'validate',
             #       debug_each_call=False),
@@ -336,8 +336,8 @@ class AlluraTimerMiddleware(TimerMiddleware):
             #       '_validate_fast_missing', '_validate_optional',
             #       debug_each_call=False),
             Timer('mongo', pymongo.collection.Collection, 'count', 'find',
-                  'find_one', 'aggregate', 'group', 'map_reduce',
-                  'inline_map_reduce', 'find_one_and_update', 
'find_one_and_replace', 'find_one_and_delete', 
+                  'find_one', 'aggregate', 'group', 
+                  'find_one_and_update', 'find_one_and_replace', 
'find_one_and_delete', 
                   'insert', 'save', 'update', 'remove', 'drop'),
             Timer('mongo', pymongo.cursor.Cursor, 'count', 'distinct',
                   '_refresh'),

Reply via email to