dlg99 commented on code in PR #4256: URL: https://github.com/apache/bookkeeper/pull/4256#discussion_r1583500520
########## bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/AbstractConfiguration.java: ########## @@ -1236,6 +1237,24 @@ public T setReplicationRateByBytes(int rate) { return getThis(); } + /** + * get the max tasks can be acquired per second of re-replication. + * @return max tasks can be acquired per second of re-replication. + */ + public double getReplicationAcquireTaskPerSecond() { + return getDouble(REPLICATION_ACQUIRE_TASK_PER_SECOND, 1.0); Review Comment: Let's set default to 0 (no throttling) to maintain existing behavior by default -- 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: commits-unsubscr...@bookkeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org