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.
1 parent 7b06b40 commit 90e3365Copy full SHA for 90e3365
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