We added support for dynamically resizing the oplog on WiredTiger nodes using the replSetResizeOplog command in
SERVER-22766. The ReplBatcher thread calculates the batch limit once based on the oplog size known at the time the thread is spawned. We should look at re-evaluating this batch limit whenever the oplog is resized.
This came out of a code review on