This is an automated email from the ASF dual-hosted git repository. dill0wn pushed a commit to branch dw/8565 in repository https://gitbox.apache.org/repos/asf/allura.git
commit b6c3f877ceddcb64ae282bcb212f88ea21ede829 Author: Dillon Walls <[email protected]> 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 c81c5a11d..0e3e2642c 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'),
