nickva opened a new pull request #2419: Remove unused batching code from replicator URL: https://github.com/apache/couchdb/pull/2419 The `batch_doc(Doc)` code was previously used for local endpoints when flushing docs with attachments. After that code was removed, the [remote_doc_handler/2]( https://github.com/apache/couchdb/blob/master/src/couch_replicator/src/couch_replicator_worker.erl#L274 ) filters out all docs with attachments before they even get to the doc flusher so `batch_doc/1` effectively always returns `true`.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
