Github user sagelywizard commented on the pull request:
https://github.com/apache/couchdb-couch-replicator/pull/38#issuecomment-219638826
What do you think about doing this with a queue-oriented approach? Like,
you start ten reps with a 5-per-second rate. Then start the first five and add
the remaining five to a queue. Have some timeout mechanism wait until the next
interval and allow the next five to start. That way, if a configuration change
happens, it only lasts until the next interval. Also, you don't have to deal
with things waiting for long periods of time.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---