We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b06b40 + 90e3365 commit 152013eCopy full SHA for 152013e
flask_mongoengine/operation_tracker.py
@@ -47,7 +47,7 @@ def _unpack_response(response, *args, **kwargs):
47
*args,
48
**kwargs
49
)
50
- response_sizes.append(sys.getsizeof(response) / 1024.0)
+ response_sizes.append(sys.getsizeof(response, len(response)) / 1024.0)
51
return result
52
53
# Wrap Cursor.insert for getting queries
0 commit comments