mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Handling getMore mongo log.
This commit is contained in:
parent
a77a858a85
commit
6b1d8cef78
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class MongoCommandLogger(monitoring.CommandListener):
|
|||
query = f"{[dict(dict(i)['q']) for i in command_insert]}"
|
||||
elif command_update:
|
||||
query = f"{[dict(dict(i)['q']) for i in command_update]}"
|
||||
elif command_get_more:
|
||||
elif command_get_more and isinstance(command_get_more, dict):
|
||||
query = f"{command_get_more['collection']}"
|
||||
query_size = len(str(query))
|
||||
if query_size > 500:
|
||||
|
|
Loading…
Add table
Reference in a new issue