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 60ca972 commit 0394f43Copy full SHA for 0394f43
src/libmongoc/tests/test-mongoc-crud.c
@@ -958,6 +958,7 @@ prose_test_11_fixture_new (void)
958
tf->maxMessageSizeBytes = sl.maxMessageSizeBytes;
959
tf->maxBsonObjectSize = sl.maxBsonObjectSize;
960
961
+ // See CRUD prose test 12 description for the calculation of these values.
962
const int32_t opsBytes = tf->maxMessageSizeBytes - 1122;
963
tf->numModels = opsBytes / tf->maxBsonObjectSize;
964
const int32_t remainderBytes = opsBytes % tf->maxBsonObjectSize;
0 commit comments