Reputation: 146
I want to make some test of a API I've written between MongoDB and SWI-PROLOG. So the problem I'm facing is the batch-size of MongoDB. Can I permanently set it up to 1.000.000?
I haven't found anything in the documantation of MongoDB.
I know I can change it via:
DBQuery.shellBatchSize = 1999
But not permanantly.
Upvotes: 1
Views: 1123
Reputation: 28336
The default batch size is hardcoded here
You'll need to recompile to change it.
Upvotes: 1
Reputation: 14520
Batch size is a client setting, therefore to change it "permanently" configure it on the client the way you want it to be.
Upvotes: 1