diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-04-06 13:45:26 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-04-12 08:57:13 -0400 |
commit | 3389eef4cffcb07845a8d073dd825b6d40df6d9b (patch) | |
tree | bd1a12358399a542aea8f220f31ef14ed2b2b98d /src/mongo/db/curop.cpp | |
parent | 3c7f43bc2cf5419b4061bd55351a1894a0e32152 (diff) | |
download | mongo-3389eef4cffcb07845a8d073dd825b6d40df6d9b.tar.gz |
SERVER-28690 raise currentOp limit to 1000 bytes
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r-- | src/mongo/db/curop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp index f4c028879c3..8a8f035d351 100644 --- a/src/mongo/db/curop.cpp +++ b/src/mongo/db/curop.cpp @@ -359,7 +359,7 @@ void CurOp::reportState(BSONObjBuilder* builder) { // When currentOp is run, it returns a single response object containing all current // operations. This request will fail if the response exceeds the 16MB document limit. We limit // query object size here to reduce the risk of exceeding. - const size_t maxQuerySize = 512; + const size_t maxQuerySize = 1000; if (_networkOp == dbInsert) { appendAsObjOrString("insert", _query, maxQuerySize, builder); |