Skip to content

Commit 69ffd47

Browse files
author
Christian Hergert
committed
collection: use 100 for default batchSize in aggregate.
1 parent 10a5c03 commit 69ffd47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongoc/mongoc-collection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ mongoc_collection_aggregate (mongoc_collection_t *collection, /* IN */
327327
}
328328

329329
if (!did_batch_size) {
330-
BSON_APPEND_INT32 (&child, "batchSize", 0);
330+
BSON_APPEND_INT32 (&child, "batchSize", 100);
331331
}
332332

333333
bson_append_document_end (&command, &child);

0 commit comments

Comments
 (0)