Add rate limiter for replication

For a remote replication request, we add in support for rate limiting.
We add in 4 new replication options:

src_rate_limit
src_rate_period
target_rate_limit
target_rate_period

These define the maximum number of requests per interval,
i.e limit = 10, period = 5 would be a rate of 2 requests per second.

COUCHDB-3010
7 files changed
tree: 5843dda1e0fd6413cad8b62bec3825d643a82577
  1. .gitignore
  2. .travis.yml
  3. LICENSE
  4. priv/
  5. src/
  6. test/