thomasmueller commented on code in PR #1716:
URL: https://github.com/apache/jackrabbit-oak/pull/1716#discussion_r1761061465
##########
oak-run-commons/src/main/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/pipelined/PipelinedMongoDownloadTask.java:
##########
@@ -796,7 +800,7 @@ void download(FindIterable<NodeDocument> mongoIterable)
throws InterruptedExcept
this.lastIdDownloaded = id;
this.documentsDownloadedTotal++;
downloadStatics.incrementDocumentsDownloadedTotal();
- if (this.documentsDownloadedTotal % 20_000 == 0) {
+ if (this.documentsDownloadedTotal % 50_000 == 0) {
Review Comment:
No, I think this is not needed. Actually I'm against making it a constant:
that would just complicate the code without giving any meaningful value, in my
view. (I understand others might have a different opinion, that's fine.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]